]> granicus.if.org Git - libevent/commit
Reset outgoing connection when read data in idle state.
authorTomash Brechko <tomash.brechko@gmail.com>
Wed, 23 Mar 2011 09:05:33 +0000 (12:05 +0300)
committerNick Mathewson <nickm@torproject.org>
Mon, 4 Apr 2011 18:41:45 +0000 (14:41 -0400)
commit272823f8b0fb3c5f752ea5ff79b9b223b4d1b453
tree5efe60f2e52776b6afe4ad70a2876c74e87b78f8
parentc621359122c0b86f917407c6c544d51c4b49cd1b
Reset outgoing connection when read data in idle state.

Imagine server side is buggy and miscalculates Content-Length: in the
reply.  Data arriving in idle state shouldn't make us crash, instead we
can just reset the connection.
http.c