aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-26 14:09:44 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-26 14:09:44 +0000
commitd942e62f877b930e633e512e33548c387b97c726 (patch)
tree1b2ab3b098c3cab75fa3b9ce2740836c30db02b4 /src/transport/plugin_transport_http_server.c
parentf3dbebee8b087c25aab0cef0a0228845a8954596 (diff)
downloadgnunet-d942e62f877b930e633e512e33548c387b97c726.tar.gz
gnunet-d942e62f877b930e633e512e33548c387b97c726.zip
implemented session based sending in transport service (coexisting with old code)
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 3d09e866e..e90b26f72 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -379,7 +379,7 @@ server_lookup_session (struct Plugin *plugin,
379 struct GNUNET_PeerIdentity target; 379 struct GNUNET_PeerIdentity target;
380 int check = GNUNET_NO; 380 int check = GNUNET_NO;
381 uint32_t tag = 0; 381 uint32_t tag = 0;
382 int direction; 382 int direction = GNUNET_SYSERR;
383 383
384 conn_info = 384 conn_info =
385 MHD_get_connection_info (mhd_connection, 385 MHD_get_connection_info (mhd_connection,
@@ -410,7 +410,10 @@ server_lookup_session (struct Plugin *plugin,
410 else if (0 == strcmp (MHD_HTTP_METHOD_GET, method)) 410 else if (0 == strcmp (MHD_HTTP_METHOD_GET, method))
411 direction = _SEND; 411 direction = _SEND;
412 else 412 else
413 {
413 GNUNET_break_op (0); 414 GNUNET_break_op (0);
415 goto error;
416 }
414 417
415 418
416 if (check == GNUNET_NO) 419 if (check == GNUNET_NO)