Tor can to start write to connection just because something wrote to conn's outbuf by _connection_write_to_buf_impl(). While connection can be blocked on bw still.
If buckets empty it can't to write anything anyway (need investigation for sure).
Suggested idea to fix, could be looks like:
if (conn->write_event && !conn->write_blocked_on_bw) { connection_start_writing(conn); }
Kludgy probably. #8111 (moved) will fix it generally for 0.2.5 I hopes.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I suspect the current behavior is should be harmless, since as soon as the write event arrives, connection_bucket_write_limit() should return 0. But still it's a pointless trip through the kernel.
I made a branch in bug8298; please test and review?