[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16870 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16870 - gnunet/src/transport |
Date: |
Thu, 15 Sep 2011 17:55:16 +0200 |
Author: wachs
Date: 2011-09-15 17:55:16 +0200 (Thu, 15 Sep 2011)
New Revision: 16870
Modified:
gnunet/src/transport/plugin_transport_http_server.c
Log:
fix
Modified: gnunet/src/transport/plugin_transport_http_server.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_server.c 2011-09-15 15:54:05 UTC
(rev 16869)
+++ gnunet/src/transport/plugin_transport_http_server.c 2011-09-15 15:55:16 UTC
(rev 16870)
@@ -232,16 +232,16 @@
const char *upload_data, size_t * upload_data_size,
void **httpSessionCache)
{
- //struct Plugin *plugin = cls;
+ struct Plugin *plugin = cls;
struct Session *s = *httpSessionCache;
int res = MHD_YES;
- //struct MHD_Response *response;
+ struct MHD_Response *response;
GNUNET_assert (cls != NULL);
/* new connection */
if (s == NULL)
{
-#if 0
+
uint32_t tag;
const union MHD_ConnectionInfo *conn_info;
size_t addrlen;
@@ -333,7 +333,7 @@
GNUNET_CONTAINER_DLL_remove(plugin->server_semi_head,
plugin->server_semi_tail, s);
GNUNET_CONTAINER_DLL_insert(plugin->head, plugin->tail, s);
#if VERBOSE_SERVER
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "server: Found matching
semi-session, merging session for peer `%s' `%s'\n", GNUNET_i2s (&target));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "server: Found matching
semi-session, merging session for peer `%s'\n", GNUNET_i2s (&target));
#endif
goto found;
@@ -352,7 +352,7 @@
GNUNET_CONTAINER_DLL_remove(plugin->server_semi_head,
plugin->server_semi_tail, s);
GNUNET_CONTAINER_DLL_insert(plugin->head, plugin->tail, s);
#if VERBOSE_SERVER
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "server: Found matching
semi-session, merging session for peer `%s' `%s'\n", GNUNET_i2s (&target));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "server: Found matching
semi-session, merging session for peer `%s'\n", GNUNET_i2s (&target));
#endif
goto found;
}
@@ -391,7 +391,6 @@
(*httpSessionCache) = s;
return MHD_YES;
-#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16870 - gnunet/src/transport,
gnunet <=