[or-cvs] send a destroy after we send an introduce

Roger Dingledine arma at seul.org
Mon Apr 5 15:17:37 UTC 2004


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

Modified Files:
	rendclient.c 
Log Message:
send a destroy after we send an introduce


Index: rendclient.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendclient.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- rendclient.c	5 Apr 2004 07:41:31 -0000	1.9
+++ rendclient.c	5 Apr 2004 15:17:34 -0000	1.10
@@ -98,6 +98,9 @@
     return -1;
   }
 
+  /* we don't need it anymore, plus it's been used. send the destroy. */
+  circuit_mark_for_close(introcirc);
+
   return 0;
 err:
   if(parsed)



More information about the tor-commits mailing list