From c1e7b36400db49d3dcb403512e9b009d1b6d05bc Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 6 Apr 2016 16:00:11 +0200 Subject: webserver: 416 errors aren't closing connections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Breaking here lets our handler die which a client will fix by reconnecting… but that eats time needlessly and is simple the wrong handling, too. Git-Dch: Ignore --- test/interactive-helper/aptwebserver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index 98db8982e..3e91406ab 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -760,7 +760,7 @@ static void * handleClient(void * voidclient) /*{{{*/ headers.push_back(contentrange.str()); } sendError(client, 416, *m, sendContent, "", headers); - break; + continue; } } } -- cgit v1.2.3