[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] If it has not been 100 seconds since we told the cpuworker ...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] If it has not been 100 seconds since we told the cpuworker ...
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Fri, 8 Apr 2005 00:59:37 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 08 Apr 2005 01:00:12 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv22101/src/or
Modified Files:
cpuworker.c
Log Message:
If it has not been 100 seconds since we told the cpuworker about an onion, complain! Oh, wait...
Index: cpuworker.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/cpuworker.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- cpuworker.c 7 Apr 2005 20:07:34 -0000 1.74
+++ cpuworker.c 8 Apr 2005 04:59:34 -0000 1.75
@@ -375,7 +375,7 @@
if (!conn->marked_for_close &&
conn->type == CONN_TYPE_CPUWORKER &&
conn->state == CPUWORKER_STATE_BUSY_ONION &&
- conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT > now) {
+ conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT < now) {
log_fn(LOG_NOTICE,"Bug: closing wedged cpuworker. Can somebody find the bug?");
num_cpuworkers_busy--;
num_cpuworkers--;