1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

PROT_CLOSEACTION should not include TFTP

TFTP is not a protocol that uses close actions so it should
not be set in that bitmask!
This commit is contained in:
Daniel Stenberg 2010-03-25 19:56:50 +01:00
parent 5e1859014b
commit 93e6b1cb7c

View 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