Преглед изворни кода

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 пре 10 година
родитељ
комит
c1e7b36400
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 		     }
 		  }
 	       }