[or-cvs] leave conn->socks_request around after the begin

Roger Dingledine arma at seul.org
Tue Nov 11 06:42:12 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	connection_edge.c 
Log Message:
leave conn->socks_request around after the begin

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


Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_edge.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- connection_edge.c	11 Nov 2003 04:13:37 -0000	1.49
+++ connection_edge.c	11 Nov 2003 06:42:10 -0000	1.50
@@ -624,7 +624,6 @@
   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;
 }



More information about the tor-commits mailing list