Commit 93e6b1cb authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

PROT_CLOSEACTION should not include TFTP

TFTP is not a protocol that uses close actions so it should
not be set in that bitmask!
parent 5e185901
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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