Commit bdcd921d authored by jan.koester's avatar jan.koester
Browse files

test

parent 1bec86c8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
                {