mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th.
This commit is contained in:
parent
444bb03fab
commit
d709cb2ae3
9 changed files with 24 additions and 84 deletions
|
|
@ -351,7 +351,7 @@ static CURLcode AllowServerConnect(struct connectdata *conn)
|
|||
infof(data, "Connection accepted from server\n");
|
||||
|
||||
conn->sock[SECONDARYSOCKET] = s;
|
||||
Curl_nonblock(s, TRUE); /* enable non-blocking */
|
||||
curlx_nonblock(s, TRUE); /* enable non-blocking */
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue