Loading src/http.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -1182,8 +1182,13 @@ const std::vector<char> libhttppp::HttpClient::_h2Request( throw ee; } // Always wait for socket readability before next iteration to // avoid busy-spinning when pumpNetwork processes only ACKs/control // frames but no application stream data is available yet. if (n == 0) { _sw.waitRead(*_cltsock, 100); } } if (is_redirect_status(status_code) && redirects < kMaxRedirects && !location.empty()) { ++redirects; Loading Loading
src/http.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -1182,8 +1182,13 @@ const std::vector<char> libhttppp::HttpClient::_h2Request( throw ee; } // Always wait for socket readability before next iteration to // avoid busy-spinning when pumpNetwork processes only ACKs/control // frames but no application stream data is available yet. if (n == 0) { _sw.waitRead(*_cltsock, 100); } } if (is_redirect_status(status_code) && redirects < kMaxRedirects && !location.empty()) { ++redirects; Loading