Commit 009f300532481d4f3b7237f9a59fd306b371b8c0

Nick Mathewson 2010-08-04T14:54:38

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.