mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
If a socks connection ends because read fails, don't warn that you're
not sending a socks reply back. (bug reported by Warren Barrow) svn:r4277
This commit is contained in:
@@ -996,6 +996,8 @@ loop_again:
|
||||
connection_close_immediate(conn); /* Don't flush; connection is dead. */
|
||||
if (CONN_IS_EDGE(conn)) {
|
||||
connection_edge_end_errno(conn, conn->cpath_layer);
|
||||
if (conn->socks_request) /* broken, so don't send a socks reply back */
|
||||
conn->socks_request->has_finished = 1;
|
||||
}
|
||||
connection_mark_for_close(conn);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user