diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-08-08 14:43:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-08-08 14:43:26 +0200 |
commit | d38b4737fde16d59b56847c8c5b50e97285a809f (patch) | |
tree | 1b07b071b06a6159b3f110376740f1e937dd09b1 /lib | |
parent | 1ba1dba76a8898d1de4dfbc9f1910a352d8a9dab (diff) |
windows: follow up to the buffer-tuning 1ba1dba7
Somehow I didn't include the amended version of the previous fix. This
is the missing piece.
Pointed-out-by: Viktor Szakats
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 1d33e861a..49f32568f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -869,7 +869,11 @@ static CURLcode done_sending(struct connectdata *conn, return CURLE_OK; } -#if defined(WIN32) && defined(SIO_IDEAL_SEND_BACKLOG_QUERY) +#ifdef WIN32 +#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY +#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B +#endif + static void win_update_buffer_size(curl_socket_t sockfd) { int result; |