diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 19:56:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 19:56:56 +0000 |
commit | 5156df7d340440694f003a4710f63457af4c7b7e (patch) | |
tree | 33fa35b49ebd220133d206311436436ca00f2251 | |
parent | 7055bafca9f71d406ed638716ffe7ef13bd311e2 (diff) | |
download | gnunet-5156df7d340440694f003a4710f63457af4c7b7e.tar.gz gnunet-5156df7d340440694f003a4710f63457af4c7b7e.zip |
-rw-r--r-- | src/transport/plugin_transport_http.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index b346ad876..f63a467e9 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <curl/curl.h> | 40 | #include <curl/curl.h> |
41 | 41 | ||
42 | 42 | ||
43 | #define DEBUG_CURL GNUNET_NO | 43 | #define DEBUG_CURL GNUNET_YES |
44 | #define DEBUG_HTTP GNUNET_NO | 44 | #define DEBUG_HTTP GNUNET_NO |
45 | #define DEBUG_CONNECTIONS GNUNET_YES | 45 | #define DEBUG_CONNECTIONS GNUNET_YES |
46 | 46 | ||
@@ -407,6 +407,8 @@ static int remove_session (struct HTTP_PeerContext * pc, struct Session * ps, i | |||
407 | { | 407 | { |
408 | struct HTTP_Message * msg; | 408 | struct HTTP_Message * msg; |
409 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Connection %X: removing %s session %X with id %u\n", ps, (ps->direction == INBOUND) ? "inbound" : "outbound", ps, ps->session_id); | 409 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Connection %X: removing %s session %X with id %u\n", ps, (ps->direction == INBOUND) ? "inbound" : "outbound", ps, ps->session_id); |
410 | |||
411 | |||
410 | GNUNET_free_non_null (ps->addr); | 412 | GNUNET_free_non_null (ps->addr); |
411 | GNUNET_SERVER_mst_destroy (ps->msgtok); | 413 | GNUNET_SERVER_mst_destroy (ps->msgtok); |
412 | GNUNET_free(ps->url); | 414 | GNUNET_free(ps->url); |
@@ -1734,8 +1736,8 @@ http_plugin_disconnect (void *cls, | |||
1734 | 1736 | ||
1735 | while (ps!=NULL) | 1737 | while (ps!=NULL) |
1736 | { | 1738 | { |
1737 | /* Telling transport that session is getting disconnected */ | 1739 | /* Telling transport that session is getting disconnected */ |
1738 | plugin->env->session_end(plugin, target, ps); | 1740 | plugin->env->session_end(plugin, target, ps); |
1739 | if (ps->direction==OUTBOUND) | 1741 | if (ps->direction==OUTBOUND) |
1740 | { | 1742 | { |
1741 | if (ps->send_endpoint!=NULL) | 1743 | if (ps->send_endpoint!=NULL) |