diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-04-06 16:00:11 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-04-13 21:33:32 +0200 |
commit | c1e7b36400db49d3dcb403512e9b009d1b6d05bc (patch) | |
tree | bf7afa7fbd4eb21572e22349db70eea9eb6f064a /test/interactive-helper | |
parent | 38f8704e419ed93f433129e20df5611df6652620 (diff) |
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
Diffstat (limited to 'test/interactive-helper')
-rw-r--r-- | test/interactive-helper/aptwebserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |