mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
if the directory client hangs up before getting the directory,
then give up on him svn:r1238
This commit is contained in:
parent
044bda2f06
commit
c362ed877d
@ -144,6 +144,7 @@ int connection_dir_process_inbuf(connection_t *conn) {
|
||||
return 0;
|
||||
default:
|
||||
log_fn(LOG_INFO,"conn reached eof, not reading. Closing.");
|
||||
connection_close_immediate(conn); /* it was an error; give up on flushing */
|
||||
connection_mark_for_close(conn,0);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user