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...
This commit is contained in:
Daniel Stenberg
2004-04-13 07:16:26 +00:00
parent 3647a6ddcd
commit 4e3aa250c4
3 changed files with 22 additions and 9 deletions

View File

@@ -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"