[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6409 - GNUnet/src/transports
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6409 - GNUnet/src/transports |
Date: |
Thu, 21 Feb 2008 23:22:15 -0700 (MST) |
Author: grothoff
Date: 2008-02-21 23:22:15 -0700 (Thu, 21 Feb 2008)
New Revision: 6409
Modified:
GNUnet/src/transports/http.c
Log:
fixes
Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c 2008-02-22 04:53:07 UTC (rev 6408)
+++ GNUnet/src/transports/http.c 2008-02-22 06:22:15 UTC (rev 6409)
@@ -571,8 +571,8 @@
/* contentReaderFreeCallback WILL
destroy gpos->lock/gpos */
gnext = gpos->next;
+ GNUNET_mutex_unlock (gpos->lock);
MHD_destroy_response (r);
- GNUNET_mutex_unlock (gpos->lock);
gpos = gnext;
}
httpsession->cs.server.gets = NULL;
@@ -803,6 +803,12 @@
unsigned int poff;
ENTER ();
+#if DEBUG_HTTP
+ GNUNET_GE_LOG (coreAPI->ectx,
+ GNUNET_GE_DEBUG | GNUNET_GE_REQUEST | GNUNET_GE_USER,
+ "HTTP/MHD receives `%s' request.\n",
+ method);
+#endif
/* convert URL to sender peer id */
if ((strlen (url) < 2)
|| (GNUNET_OK != GNUNET_enc_to_hash (&url[1], &client)))
@@ -1746,8 +1752,7 @@
mprev = NULL;
while (mpos != NULL)
{
- if ((mpos->done == GNUNET_YES) &&
- (mpos->last_activity == 0))
+ if (mpos->last_activity == 0)
{
if (mprev == NULL)
s->cs.server.puts = mpos->next;
@@ -2038,6 +2043,7 @@
STEP ();
mhd_daemon = NULL;
}
+ cleanup_connections ();
for (i = 0; i < tsessionCount; i++)
{
s = tsessions[i]->internal;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6409 - GNUnet/src/transports,
gnunet <=