mirror of
https://github.com/curl/curl.git
synced 2026-07-30 12:28:04 +03:00
Internal function Curl_select() renamed to Curl_socket_ready()
This commit is contained in:
parent
2166645ce4
commit
fba4cd0e62
12 changed files with 25 additions and 22 deletions
|
|
@ -329,7 +329,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
else
|
||||
fd_write = CURL_SOCKET_BAD;
|
||||
|
||||
select_res = Curl_select(fd_read, fd_write, 0);
|
||||
select_res = Curl_socket_ready(fd_read, fd_write, 0);
|
||||
if(select_res == CSELECT_ERR) {
|
||||
failf(data, "select/poll returned error");
|
||||
return CURLE_SEND_ERROR;
|
||||
|
|
@ -1828,7 +1828,7 @@ Transfer(struct connectdata *conn)
|
|||
the timeout case and if we limit transfer speed we must make sure that
|
||||
this function doesn't transfer anything while in HOLD status. */
|
||||
|
||||
switch (Curl_select(fd_read, fd_write, 1000)) {
|
||||
switch (Curl_socket_ready(fd_read, fd_write, 1000)) {
|
||||
case -1: /* select() error, stop reading */
|
||||
#ifdef EINTR
|
||||
/* The EINTR is not serious, and it seems you might get this more
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue