Closed GoogleCodeExporter closed 9 years ago
Set "Connection: close" header, that should do the trick.
Original comment by valenok
on 7 Aug 2012 at 8:58
[deleted comment]
[deleted comment]
The scenario I'm dealing with is when the client requests a keep-alive, and the
server wishes to close the connection anyway. I did try replying with a
Connection: close, but mongoose remained in the connection loop despite my
recommendation. Setting conn->must_close to 1 did however solve my problem,
but required code modification.
Original comment by bwfo...@googlemail.com
on 15 Aug 2012 at 2:04
Try sending HTTP/1.0 reply. 1.0 does not have keep-alive, and mongoose will
forcefully close the connection.
Original comment by valenok
on 15 Aug 2012 at 11:05
Original issue reported on code.google.com by
bwfo...@googlemail.com
on 7 Aug 2012 at 12:12