Skip to content

Commit

Permalink
http: Correct typo.
Browse files Browse the repository at this point in the history
Oops, somehow deleted an important character when pushing up.
  • Loading branch information
unknownbrackets committed Dec 29, 2018
1 parent 127330f commit 809c0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/native/net/http_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ int Client::SendRequestWithData(const char *method, const char *resource, const

int Client::ReadResponseHeaders(Buffer *readbuf, std::vector<std::string> &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;
}
Expand Down

0 comments on commit 809c0f3

Please sign in to comment.