diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-12-11 09:31:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-12-11 09:31:08 +0000 |
commit | cf99fed17a99d11a7c4e93855a97402b669afb7d (patch) | |
tree | 1337bc7aea93c0291a0b1b23125a3f39e25e00de | |
parent | ca48b6bf35d4054240748f8e95a40b835c99f1f6 (diff) |
PROT_CLOSEACTION doesn't have to be its own bit but can just as well just
include the protocol bits of such actions, which currently only means FTP
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 6baf3dba7..7f2279e96 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -699,7 +699,6 @@ struct connectdata { particular struct has */ long protocol; /* PROT_* flags concerning the protocol set */ #define PROT_MISSING (1<<0) -#define PROT_CLOSEACTION (1<<1) /* needs action before socket close */ #define PROT_HTTP (1<<2) #define PROT_HTTPS (1<<3) #define PROT_FTP (1<<4) @@ -713,6 +712,9 @@ struct connectdata { #define PROT_SCP (1<<12) #define PROT_SFTP (1<<13) +#define PROT_CLOSEACTION PROT_FTP /* these ones need action before socket + close */ + /* 'dns_entry' is the particular host we use. This points to an entry in the DNS cache and it will not get pruned while locked. It gets unlocked in Curl_done(). This entry will be NULL if the connection is re-used as then |