]> granicus.if.org Git - libevent/commit
Fix rate-limit calculation on openssl bufferevents.
authorNick Mathewson <nickm@torproject.org>
Wed, 4 Aug 2010 18:54:38 +0000 (14:54 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 4 Aug 2010 18:54:38 +0000 (14:54 -0400)
commit009f300532481d4f3b7237f9a59fd306b371b8c0
tree00faa030656ab5f2a9154d91e53f5c62826a6bbf
parent13b912e4acb6fea5802ae3005898535af2ae5263
Fix rate-limit calculation on openssl bufferevents.

When you're doing rate limiting on an openssl connection, you nearly
always want to limit the number of bytes sent and received over the
wire, not the number of bytes read or written over the secure
transport.
bufferevent_openssl.c