From 809c0f3e2c9617c174daa46c5c8d12b4a373f3a5 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 29 Dec 2018 08:16:56 -0800 Subject: [PATCH] http: Correct typo. Oops, somehow deleted an important character when pushing up. --- ext/native/net/http_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/native/net/http_client.cpp b/ext/native/net/http_client.cpp index 1954f69ce2..22e5fb9c56 100644 --- a/ext/native/net/http_client.cpp +++ b/ext/native/net/http_client.cpp @@ -292,7 +292,7 @@ int Client::SendRequestWithData(const char *method, const char *resource, const int Client::ReadResponseHeaders(Buffer *readbuf, std::vector &responseHeaders, float *progress) { // Snarf all the data we can into RAM. A little unsafe but hey. - if (dataTimeout_ >= 0.0 && fd_util::WaitUntilReady(sock(), dataTimeout_, false)) { + if (dataTimeout_ >= 0.0 && !fd_util::WaitUntilReady(sock(), dataTimeout_, false)) { ELOG("HTTP headers timed out"); return -1; }