Loading src/http.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -942,7 +942,10 @@ libhttppp::HttpResponse libhttppp::HttpClient::GetStream(libhttppp::HttpRequest } }; auto h3_header_deadline = std::chrono::steady_clock::now() + std::chrono::seconds(10); // Honor setTimeout() (_recvTimeoutSec) instead of a fixed 10s: a slow // backend (cold model load/swap) can take much longer than 10s to // send back even the response headers. auto h3_header_deadline = std::chrono::steady_clock::now() + std::chrono::seconds(_recvTimeoutSec); while (!got_headers) { // Drain all currently available stream data { Loading Loading
src/http.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -942,7 +942,10 @@ libhttppp::HttpResponse libhttppp::HttpClient::GetStream(libhttppp::HttpRequest } }; auto h3_header_deadline = std::chrono::steady_clock::now() + std::chrono::seconds(10); // Honor setTimeout() (_recvTimeoutSec) instead of a fixed 10s: a slow // backend (cold model load/swap) can take much longer than 10s to // send back even the response headers. auto h3_header_deadline = std::chrono::steady_clock::now() + std::chrono::seconds(_recvTimeoutSec); while (!got_headers) { // Drain all currently available stream data { Loading