aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-07-10 09:03:27 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-07-10 09:03:27 +0000
commit61b74e5d953a59b93d8e814c1e55965c015818aa (patch)
tree41186d5911329f1aa4f81d4e7b50c19138b8ce15 /src/transport/plugin_transport_http.c
parent2606a543d5f3330b13c31155688a777b1d124841 (diff)
downloadgnunet-61b74e5d953a59b93d8e814c1e55965c015818aa.tar.gz
gnunet-61b74e5d953a59b93d8e814c1e55965c015818aa.zip
- improved session creation and listen only mode
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index 14187a4f0..9b23be168 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -669,6 +669,9 @@ notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
669{ 669{
670 struct Plugin *plugin = cls; 670 struct Plugin *plugin = cls;
671 671
672 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name,
673 "Notifying transport about ending session %p\n");
674
672 plugin->env->session_end (plugin->env->cls, peer, s); 675 plugin->env->session_end (plugin->env->cls, peer, s);
673 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); 676 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
674 delete_session (s); 677 delete_session (s);
@@ -842,7 +845,7 @@ http_plugin_disconnect (void *cls, const struct GNUNET_PeerIdentity *target)
842 struct Session *next = NULL; 845 struct Session *next = NULL;
843 struct Session *s = plugin->head; 846 struct Session *s = plugin->head;
844 847
845 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, 848 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name,
846 "Transport tells me to disconnect `%s'\n", 849 "Transport tells me to disconnect `%s'\n",
847 GNUNET_i2s (target)); 850 GNUNET_i2s (target));
848 while (s != NULL) 851 while (s != NULL)