aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-13 07:16:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-13 07:16:26 +0000
commit4e3aa250c4ab02a6daaebba3282faf34c89f9ba9 (patch)
treebe5b8d8953b4803079e078cf3faeadb539219265 /lib/urldata.h
parent3647a6ddcd3ccdceeeb0d1d18ed792f36acf87c1 (diff)
Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within the
sessionhandle to make the duphandle() function work as supposed. Also tried to start document functions the doxygen way (in the headers of the functions). Can't make it work though...
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 4f53d8412..fb1150468 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -889,8 +889,9 @@ struct UserDefined {
bool ftp_use_eprt; /* if EPRT is to be attempted or not */
curl_ftpssl ftp_ssl; /* if AUTH TLS is to be attempted etc */
bool no_signal; /* do not use any signal/alarm handler */
+ bool global_dns_cache; /* subject for future removal */
+ bool tcp_nodelay; /* whether to enable TCP_NODELAY or not */
- bool global_dns_cache;
};
/*
@@ -918,9 +919,6 @@ struct SessionHandle {
#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H)
ENGINE* engine;
#endif /* USE_SSLEAY */
-
- /* This tells CreateConnection() whether to enable TCP_NODELAY or not */
- int tcp_nodelay;
};
#define LIBCURL_NAME "libcurl"