nmathewson/Libevent — pull request #63 by fancycode (2012-09-03 19:46:37+00:00)
Title: Stop looping in "consider_reading" if reading is suspended.

There is a bug in "consider_reading" that for filtered ssl bufferevents the loop that calls "do_read" might not terminate if data is pending (SSL_pending > 0) but reading in the bufferevent is suspended (read_suspended == 1).

This also exists in libevent 2.0.19 and 2.0.20 but not in 2.0.14 (didn't test versions between 2.0.14 and 2.0.19), so should be merged to the 2.0 fixes branch, too.