diff --git a/lib/urldata.h b/lib/urldata.h
index f6b8de9557b50d559c48aa9b9df212031fcb787e..ad172d66abf97f2b310929fba81db80d41b70b6f 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