1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 04:25:08 -05:00

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
This commit is contained in:
Daniel Stenberg 2018-08-08 14:43:26 +02:00
parent 1ba1dba76a
commit d38b4737fd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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