From: David Kalnischkies <david@kalnischkies.de> Date: Wed, 6 Apr 2016 14:00:11 +0000 (+0200) Subject: webserver: 416 errors aren't closing connections X-Git-Tag: 1.2.11~9 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/c1e7b36400db49d3dcb403512e9b009d1b6d05bc webserver: 416 errors aren't closing connections 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 --- 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; } } }