From dfeae3c53ce11f2b5b53ab8c9a507b25f026f8c8 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 29 Dec 2023 12:15:47 -0500 Subject: [PATCH] should trigger the complete handler consistently --- http2.d | 2 -- 1 file changed, 2 deletions(-) diff --git a/http2.d b/http2.d index 9813a38..9d9e5a0 100644 --- a/http2.d +++ b/http2.d @@ -2042,13 +2042,11 @@ class HttpRequest { inactive[inactiveCount++] = sock; sock.close(); loseSocket(request.requestParameters.host, request.requestParameters.port, request.requestParameters.ssl, sock); - continue; } if(!stillAlive || request.state == HttpRequest.State.complete || request.state == HttpRequest.State.aborted) { //import std.stdio; writeln(cast(void*) sock, " ", stillAlive, " ", request.state); inactive[inactiveCount++] = sock; - continue; // reuse the socket for another pending request, if we can } }