On Mon, Dec 19, 2011 at 07:34:50PM -0600, Mark Ellzey wrote: > I think I have been able to reproduce this using ssl client + filters. > More on this in a bit.
This seems to fix the issue: - n_to_read = SSL_pending(bev_ssl->ssl); + if (!(n_to_read = SSL_pending(bev_ssl->ssl)) && bev_ssl->underlying) { + n_to_read = evbuffer_get_length(bev_ssl->underlying->input); + } + *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.