mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
more details when a conn is closed before it's done flushing
svn:r1262
This commit is contained in:
parent
52e813951a
commit
623cb0e311
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user