From 00b6a144894945d92fe3747fdf9bad32a4aec8d8 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 9 Sep 2014 15:58:44 +0100 Subject: More empty stmt fixes. --- lib/pure/asynchttpserver.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/pure/asynchttpserver.nim b/lib/pure/asynchttpserver.nim index 70a865ed5..931a0c15a 100644 --- a/lib/pure/asynchttpserver.nim +++ b/lib/pure/asynchttpserver.nim @@ -183,6 +183,7 @@ proc processClient(client: PAsyncSocket, address: string, # header states otherwise. # In HTTP 1.0 we assume that the connection should not be persistent. # Unless the connection header states otherwise. + discard else: request.client.close() break -- cgit 1.4.1-2-gfad0