From: Daniel Stenberg Date: Thu, 25 Mar 2010 18:56:50 +0000 (+0100) Subject: PROT_CLOSEACTION should not include TFTP X-Git-Tag: curl-7_20_1~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93e6b1cb7c677de709a23dca1bba01f032d9b318;p=thirdparty%2Fcurl.git PROT_CLOSEACTION should not include TFTP TFTP is not a protocol that uses close actions so it should not be set in that bitmask! --- diff --git a/lib/urldata.h b/lib/urldata.h index f6b8de9557..ad172d66ab 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -683,7 +683,7 @@ struct connectdata { #define PROT_SSL (1<<25) /* protocol requires SSL */ /* these ones need action before socket close */ -#define PROT_CLOSEACTION (PROT_FTP | PROT_TFTP | PROT_IMAP | PROT_POP3) +#define PROT_CLOSEACTION (PROT_FTP | PROT_IMAP | PROT_POP3) #define PROT_DUALCHANNEL PROT_FTP /* these protocols use two connections */ /* 'dns_entry' is the particular host we use. This points to an entry in the