]> granicus.if.org Git - curl/commitdiff
PROT_CLOSEACTION should not include TFTP
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2010 18:56:50 +0000 (19:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2010 18:56:50 +0000 (19:56 +0100)
TFTP is not a protocol that uses close actions so it should
not be set in that bitmask!

lib/urldata.h

index f6b8de9557b50d559c48aa9b9df212031fcb787e..ad172d66abf97f2b310929fba81db80d41b70b6f 100644 (file)
@@ -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