]> granicus.if.org Git - libevent/commit
http: assert's that evbuffer_drain() success on connection reset
authorAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 11:02:13 +0000 (14:02 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 15:53:10 +0000 (18:53 +0300)
commit2185e639210f072f37e9d19aff7dba382db84529
tree3c03ddbc34109f9dd6f7acb705354d4cecb11f43
parent04fc82f7ad31aafa062ec4578f74b62003507d6e
http: assert's that evbuffer_drain() success on connection reset

Since otherwise we can have nasty bugs with part of previous *request* in
current *request* and hence some parsing errors.

And now we have failures:
  http/non_lingering_close: [forking] [err] ../http.c:1326: Assertion !evbuffer_drain(tmp, -1) failed in ../http.c
http.c