http_server: Proper fix for the socket close during header parse..
authorHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 8 Oct 2009 07:22:09 +0000 (09:22 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 8 Oct 2009 07:22:09 +0000 (09:22 +0200)
commit4bc79d68bb20c39b3cb9a3cbf7440fc145999928
tree1d6f73f280ff77fef6156258d99efc8bd614de24
parentebbad3840baf423b4a7866c50cb16c669cd2347a
http_server: Proper fix for the socket close during header parse..

The previous fix was obviously wrong. Break the outer loop to
interrupt the parsing when the connection is gone. There is not
much use continuing but there is not really a harm anyway.
host-tools/http_server/http_server.cpp