mirror of
https://github.com/curl/curl.git
synced 2026-07-26 07:47:33 +03:00
build: disable TCP_NODELAY for emscripten
This commit is contained in:
parent
38672f2eaf
commit
a41a9bfbed
3 changed files with 6 additions and 6 deletions
|
|
@ -109,7 +109,7 @@ static void set_ipv6_v6only(curl_socket_t sockfd, int on)
|
|||
|
||||
static void tcpnodelay(struct Curl_easy *data, curl_socket_t sockfd)
|
||||
{
|
||||
#ifdef TCP_NODELAY
|
||||
#if defined(TCP_NODELAY) && !defined(__EMSCRIPTEN__)
|
||||
curl_socklen_t onoff = (curl_socklen_t) 1;
|
||||
int level = IPPROTO_TCP;
|
||||
char buffer[STRERROR_LEN];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue