- improved session creation and listen only mode
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 10 Jul 2012 09:03:27 +0000 (09:03 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 10 Jul 2012 09:03:27 +0000 (09:03 +0000)
src/transport/plugin_transport_http.c

index 14187a4f0c7049de19d1d492adbf5ce7799a8d33..9b23be16871fd96757aa89f55172acf6694ab9c3 100644 (file)
@@ -669,6 +669,9 @@ notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
 {
   struct Plugin *plugin = cls;
 
+  GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name,
+                   "Notifying transport about ending session %p\n");
+
   plugin->env->session_end (plugin->env->cls, peer, s);
   GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
   delete_session (s);
@@ -842,7 +845,7 @@ http_plugin_disconnect (void *cls, const struct GNUNET_PeerIdentity *target)
   struct Session *next = NULL;
   struct Session *s = plugin->head;
 
-  GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
+  GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name,
                    "Transport tells me to disconnect `%s'\n",
                    GNUNET_i2s (target));
   while (s != NULL)