aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-28 09:48:21 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-28 09:48:21 +0000
commite6a2e0352464d2b98ae8427781b8f8b2ff0f4527 (patch)
treeb51ff2d816b9174c99bb31292615f5dc0a7888fc /src/or/connection.c
parentc4c97c074699123e6e7880c54a1ba0cb9385e4f2 (diff)
downloadtor-e6a2e0352464d2b98ae8427781b8f8b2ff0f4527.tar
tor-e6a2e0352464d2b98ae8427781b8f8b2ff0f4527.tar.gz
hold socks reply open until flushed (if possible)
svn:r1356
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 75804ee02..eeb0501b1 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -204,6 +204,7 @@ _connection_mark_for_close(connection_t *conn, char reason)
log_fn(LOG_INFO,"Cleaning up AP -- sending socks reject.");
connection_ap_handshake_socks_reply(conn, NULL, 0, 0);
conn->socks_request->has_finished = 1;
+ conn->hold_open_until_flushed = 1;
}
/* fall through, to do things for both ap and exit */
case CONN_TYPE_EXIT: