[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[or-cvs] Bugfix : connection_exit_process_data_cell() quit after rec...



Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/tmp/cvs-serv29720

Modified Files:
	connection_exit.c 
Log Message:
Bugfix : connection_exit_process_data_cell() quit after receiving the SS, without waiting for the destination addr/port 


Index: connection_exit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_exit.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- connection_exit.c	5 Jul 2002 06:27:23 -0000	1.3
+++ connection_exit.c	10 Jul 2002 12:37:37 -0000	1.4
@@ -151,8 +151,10 @@
         connection_watch_events(conn, POLLIN);
 	return 0;
       }
-      log(LOG_DEBUG,"connection_exit_process_cell(): in connecting_wait, but I've already received everything. Closing.");
-      return -1;
+      else {
+	log(LOG_DEBUG,"connection_exit_process_cell(): in connecting_wait, but I've already received everything. Closing.");
+	return -1;
+      }
     case EXIT_CONN_STATE_CONNECTING:
       log(LOG_DEBUG,"connection_exit_process_cell(): Data receiving while connecting. Queueing.");
       retval = connection_write_to_buf(cell->payload, cell->length, conn);