From: Roger Dingledine Date: Tue, 11 Nov 2003 06:42:10 +0000 (+0000) Subject: leave conn->socks_request around after the begin X-Git-Tag: tor-0.0.2pre14~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a6bb0333e7a08055063e5ba43e14096f7ef4b64;p=thirdparty%2Ftor.git leave conn->socks_request around after the begin that way we can reuse it if we need to try another begin later svn:r788 --- diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index c92ab1fbf5..bf6a7b435b 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; }