summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-04-06 16:00:11 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-04-13 21:33:32 +0200
commitc1e7b36400db49d3dcb403512e9b009d1b6d05bc (patch)
treebf7afa7fbd4eb21572e22349db70eea9eb6f064a
parent38f8704e419ed93f433129e20df5611df6652620 (diff)
downloadapt-c1e7b36400db49d3dcb403512e9b009d1b6d05bc.tar.gz
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
-rw-r--r--test/interactive-helper/aptwebserver.cc2
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;
}
}
}