mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
After we successfully connect, try handling pending stuff immediately, rather than waiting for the next call to connection_handle_write. Roger: is this right?
svn:r3647
This commit is contained in:
parent
e673536e3f
commit
c2d5b67dd2
@ -1088,7 +1088,8 @@ int connection_handle_write(connection_t *conn) {
|
||||
}
|
||||
}
|
||||
/* The connection is successful. */
|
||||
return connection_finished_connecting(conn);
|
||||
if (connection_finished_connecting(conn)<0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (connection_speaks_cells(conn)) {
|
||||
|
Loading…
Reference in New Issue
Block a user