Browse Source

leave conn->socks_request around after the begin

that way we can reuse it if we need to try another begin later


svn:r788
Roger Dingledine 22 years ago
parent
commit
5a6bb0333e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/or/connection_edge.c

+ 0 - 1
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->package_window = STREAMWINDOW_START;
   ap_conn->deliver_window = STREAMWINDOW_START;
   ap_conn->deliver_window = STREAMWINDOW_START;
   ap_conn->state = AP_CONN_STATE_OPEN;
   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);
   log_fn(LOG_INFO,"Address/port sent, ap socket %d, n_circ_id %d",ap_conn->s,circ->n_circ_id);
   return 0;
   return 0;
 }
 }