diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-12 08:16:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-12 08:16:48 +0000 |
commit | 623cb0e311cb2d152b0e2af9bd654707679b38a3 (patch) | |
tree | daa8386728e225732b8f315a1a62fb6fa9315d30 | |
parent | 52e813951a416588ad78e5ab9db3f3996d547ba5 (diff) | |
download | tor-623cb0e311cb2d152b0e2af9bd654707679b38a3.tar tor-623cb0e311cb2d152b0e2af9bd654707679b38a3.tar.gz |
more details when a conn is closed before it's done flushing
svn:r1262
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index ff1d52912..7a09c8213 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -260,8 +260,10 @@ static void conn_close_if_marked(int i) { return; } if(connection_wants_to_flush(conn)) { - log_fn(LOG_WARN,"Conn (fd %d) still wants to flush. Losing %d bytes!", - conn->s, (int)buf_datalen(conn->outbuf)); + log_fn(LOG_WARN,"Conn (fd %d, type %s, state %d) still wants to flush. Losing %d bytes! (Marked at %s:%d)", + conn->s, CONN_TYPE_TO_STRING(conn->type), conn->state, + (int)buf_datalen(conn->outbuf), conn->marked_for_close_file, + conn->marked_for_close); } } connection_remove(conn); |