mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
81fe1934af
Because tunneled connections are implemented with buffervent_pair, writing to them can cause an immediate flush. This means that added to them and then checking to see whether their outbuf is empty is _not_ an adequate way to see whether you added anything. This caused a problem in directory server connections, since they would try spooling a little more data out, and then close the connection if there was no queued data to send. This fix should improve matters; it only closes the connection if there is no more data to spool, and all of the spooling callbacks are supposed to put the dirconn into dir_spool_none on completion. This is bug 3814; Sebastian found it; bugfix on 0.2.3.1-alpha.
5 lines
193 B
Plaintext
5 lines
193 B
Plaintext
o Major bugfixes (bufferevents):
|
|
- Fix a bug where server-side tunneled bufferevent-based directory
|
|
streams would get closed prematurely. Fixes 3814, bugfix on
|
|
0.2.3.1-alpha.
|