diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-27 04:55:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-27 04:55:13 +0000 |
commit | 36baf7219d458449cbbdac9b61cc34492f85fb88 (patch) | |
tree | 4b618242ed0830bdc1a7c520cf0720c35bb76988 /src/or/connection.c | |
parent | efb5db449a13a6cf87799c71a84b18b144e6e163 (diff) | |
download | tor-36baf7219d458449cbbdac9b61cc34492f85fb88.tar.gz tor-36baf7219d458449cbbdac9b61cc34492f85fb88.zip |
stop most cases of hanging up on a socks connection without sending
the socks reject. audit for remaining ones. also make things more
uniform so we always remember to hold-open-until-flushed, etc.
svn:r3891
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index fa5a53534e..3476f896ab 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -281,7 +281,8 @@ void connection_about_to_close_connection(connection_t *conn) if (conn->socks_request->has_finished == 0) { /* since conn gets removed right after this function finishes, * there's no point trying to send back a reply at this point. */ - log_fn(LOG_WARN,"Bug: Closing stream without sending back a socks reply."); + log_fn(LOG_WARN,"Bug: Closing stream (marked at %s:%d) without sending back a socks reply.", + conn->marked_for_close_file, conn->marked_for_close); } else { control_event_stream_status(conn, STREAM_EVENT_CLOSED); } |