mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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
@ -158,6 +158,7 @@ static CURLcode AllowServerConnect(struct SessionHandle *data,
|
|||||||
infof(data, "Connection accepted from server\n");
|
infof(data, "Connection accepted from server\n");
|
||||||
|
|
||||||
conn->secondarysocket = s;
|
conn->secondarysocket = s;
|
||||||
|
Curl_nonblock(s, TRUE); /* enable non-blocking */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user