[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12588 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12588 - libmicrohttpd/src/daemon |
Date: |
Tue, 17 Aug 2010 16:02:00 +0200 |
Author: wachs
Date: 2010-08-17 16:02:00 +0200 (Tue, 17 Aug 2010)
New Revision: 12588
Modified:
libmicrohttpd/src/daemon/connection.c
Log:
FIXED: wrong time arithmetic preventing incoming connections
Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c 2010-08-17 13:23:23 UTC (rev
12587)
+++ libmicrohttpd/src/daemon/connection.c 2010-08-17 14:02:00 UTC (rev
12588)
@@ -2229,7 +2229,7 @@
timeout = connection->daemon->connection_timeout;
if ((connection->socket_fd != -1) &&
(timeout != 0) &&
- (timeout > (time (NULL) - connection->last_activity)) )
+ (timeout < (time (NULL) - connection->last_activity)) )
{
MHD_connection_close (connection,
MHD_REQUEST_TERMINATED_TIMEOUT_REACHED);
return MHD_NO;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12588 - libmicrohttpd/src/daemon,
gnunet <=