mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:27:16 +03:00
when we have accepted the server's connection in a PORT sequence, we set
the new socket to non-blocking
This commit is contained in:
parent
9371aed46c
commit
9ead79c9d4
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ static CURLcode AllowServerConnect(struct SessionHandle *data,
|
|||
infof(data, "Connection accepted from server\n");
|
||||
|
||||
conn->secondarysocket = s;
|
||||
Curl_nonblock(s, TRUE); /* enable non-blocking */
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue