]> git.ipfire.org Git - thirdparty/tor.git/commit
send the end cell when we realize we're going to end,
authorRoger Dingledine <arma@torproject.org>
Tue, 21 Oct 2003 08:37:07 +0000 (08:37 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 21 Oct 2003 08:37:07 +0000 (08:37 +0000)
commit4a66865d0be89445e70230548e7cf2a1cbd59db5
tree48f8d1fbd755c03d97023f4a50d8095e919515cd
parentf8a72b1c217c182f41a71122eb5e01bc5d0e7f77
send the end cell when we realize we're going to end,
not when we're closing the stream.

this lets us put a payload in the end cell if we want to,
to describe why we're closing the stream.

there are still some places where we don't send the end cell
immediately. i need to track them down. but it's a low priority,
since i've made it send the end cell when we close the stream if
we haven't already sent it.

svn:r640
src/or/circuit.c
src/or/connection.c
src/or/connection_edge.c
src/or/dns.c
src/or/or.h
src/or/test.c