Now we allow writing to the buffer even when the stream if marked for
commit2532e9405e6cbb29e3565e9fefd0d8492c4a9190
authorRoger Dingledine <arma@torproject.org>
Sat, 4 Dec 2004 07:13:37 +0000 (4 07:13 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 4 Dec 2004 07:13:37 +0000 (4 07:13 +0000)
treec30d13a981182372dc100337d3af9f180f050074
parent5a6e117caff98f9113701977b9dfa86a86d693fc
Now we allow writing to the buffer even when the stream if marked for
close, if we're planning to wait to flush it.

This is important because we were sending a socks reject back if we're
closing and hadn't already sent one, but it wasn't actually getting
written since the conn was already marked-for-close.

svn:r3074
src/or/connection.c
src/or/connection_edge.c