mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
http: Always use non-blocking in http.
This commit is contained in:
@@ -147,7 +147,6 @@ bool Connection::Connect(int maxTries, double timeout, bool *cancelConnect) {
|
||||
// Something connected. Pick the first one that did (if multiple.)
|
||||
for (int sock : sockets) {
|
||||
if ((intptr_t)sock_ == -1 && FD_ISSET(sock, &fds)) {
|
||||
fd_util::SetNonBlocking(sock, false);
|
||||
sock_ = sock;
|
||||
} else {
|
||||
closesocket(sock);
|
||||
|
||||
Reference in New Issue
Block a user