[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[or-cvs] Bugfix : connection_exit_process_data_cell() quit afterrec... (fwd)
Roger,
Could you please check this? I think it's a bug because it didn't work on
my machine without the patch. But if I am right, it wouldn't have worked
for you either?
Matej
--
Matej Pfajfar
GPG Public Keys @ http://matejpfajfar.co.uk/keys
---------- Forwarded message ----------
Date: Wed, 10 Jul 2002 08:37:39 -0400 (EDT)
From: badbytes@seul.org
Reply-To: or-cvs@freehaven.net
To: or-cvs@freehaven.net
Subject: [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);
--
This email was forwarded via the University of Cambridge alumni email system
Visit http://cantab.net/ to update your forwarding details