aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-11-27 23:46:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-11-27 23:46:29 +0000
commit6e38cc9048a2ab2a28dca6cb357b091a3ee4317c (patch)
tree5dc2a4956d315213016a90a4781882f1472b0472 /lib/urldata.h
parenta240f4d1df0775723eadb942a15f3100b44bb2db (diff)
- Markus Koetter provided a polished and updated version of Chad Monroe's TFTP
rework patch that now integrates TFTP properly into libcurl so that it can be used non-blocking with the multi interface and more. BLKSIZE also works. The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from the command line.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 40ed8285d..daf6d0e58 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -932,8 +932,8 @@ struct connectdata {
#define PROT_SSL (1<<22) /* protocol requires SSL */
#define PROT_MISSING (1<<23)
-#define PROT_CLOSEACTION PROT_FTP /* these ones need action before socket
- close */
+/* these ones need action before socket close */
+#define PROT_CLOSEACTION (PROT_FTP | PROT_TFTP)
#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