]> granicus.if.org Git - libevent/commit
Handle rate-limiting for reading on OpenSSL bufferevents correctly.
authorNick Mathewson <nickm@torproject.org>
Tue, 12 Oct 2010 16:59:13 +0000 (12:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Oct 2010 16:59:46 +0000 (12:59 -0400)
commit819b1715723f1ab8bdf6f3d21d6eac859cf8950e
tree524e82a4ad1234a1a49a2ad14c2fbac51b609ff6
parent7ad90f6a25a952836892fbd12b7ad9a43feac9be
Handle rate-limiting for reading on OpenSSL bufferevents correctly.

We were looking at the number of bytes read on the wbio, not in the
rbio.  But these are usually different BIOs, and the reading is
supposed to happen on the rbio.
bufferevent_openssl.c