aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-11-11 06:42:10 +0000
committerRoger Dingledine <arma@torproject.org>2003-11-11 06:42:10 +0000
commit5a6bb0333e7a08055063e5ba43e14096f7ef4b64 (patch)
treee86d9229c7be1879f3bbb3e1a76727a5fb109a40 /src/or
parent84884a79c0fbe6edf2056643091b2a90d2dd69e7 (diff)
downloadtor-5a6bb0333e7a08055063e5ba43e14096f7ef4b64.tar
tor-5a6bb0333e7a08055063e5ba43e14096f7ef4b64.tar.gz
leave conn->socks_request around after the begin
that way we can reuse it if we need to try another begin later svn:r788
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index c92ab1fbf..bf6a7b435 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -624,7 +624,6 @@ static int connection_ap_handshake_send_begin(connection_t *ap_conn, circuit_t *
ap_conn->package_window = STREAMWINDOW_START;
ap_conn->deliver_window = STREAMWINDOW_START;
ap_conn->state = AP_CONN_STATE_OPEN;
- tor_free(ap_conn->socks_request); /* this also NULLs it out */
log_fn(LOG_INFO,"Address/port sent, ap socket %d, n_circ_id %d",ap_conn->s,circ->n_circ_id);
return 0;
}