Explorar o código

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
David Kalnischkies %!s(int64=10) %!d(string=hai) anos
pai
achega
c1e7b36400
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/interactive-helper/aptwebserver.cc

+ 1 - 1
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;
 		     }
 		  }
 	       }