]> granicus.if.org Git - libevent/commit
Loop on filtering SSL reads until we are blocked or exhausted.
authorNick Mathewson <nickm@torproject.org>
Mon, 6 Feb 2012 17:24:49 +0000 (12:24 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 6 Feb 2012 17:37:40 +0000 (12:37 -0500)
commit5b4b8126de52c8a895094cfea61724a91e179e71
tree7131134518abf0bdef309f62994dec346b0b6837
parentd84d917099e9e31df62ab4461019bd7613dc24f1
Loop on filtering SSL reads until we are blocked or exhausted.

This is not a perfect fix, but it's much much better than the
current buggy behavior, which could lead to filtering SSL
connections that just stopped reading.

Based on ideas by Maseeb Abdul Qadir and Mark Ellzey.
bufferevent_openssl.c