diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 11:06:00 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 11:06:00 +0000 |
commit | b72fee52dcde63535bd16f26bada9eacf3a1b74d (patch) | |
tree | da4ed82dbc8b1f6391bbc0b812e5247d381b9cc5 /src/transport/plugin_transport_http_client.c | |
parent | f1a2b49ba054ee6d194d30a86f7a84db73ddeedb (diff) | |
download | gnunet-b72fee52dcde63535bd16f26bada9eacf3a1b74d.tar.gz gnunet-b72fee52dcde63535bd16f26bada9eacf3a1b74d.zip |
- removed debug output
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 1f3841d90..d6c46f253 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -454,7 +454,7 @@ http_client_plugin_send (void *cls, | |||
454 | return GNUNET_SYSERR; | 454 | return GNUNET_SYSERR; |
455 | } | 455 | } |
456 | 456 | ||
457 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 457 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
458 | "Session %p/connection %p: Sending message with %u to peer `%s' \n", | 458 | "Session %p/connection %p: Sending message with %u to peer `%s' \n", |
459 | s, s->client_put, | 459 | s, s->client_put, |
460 | msgbuf_size, GNUNET_i2s (&s->target)); | 460 | msgbuf_size, GNUNET_i2s (&s->target)); |
@@ -474,8 +474,8 @@ http_client_plugin_send (void *cls, | |||
474 | { | 474 | { |
475 | /* PUT connection is currently getting disconnected */ | 475 | /* PUT connection is currently getting disconnected */ |
476 | s->put_reconnect_required = GNUNET_YES; | 476 | s->put_reconnect_required = GNUNET_YES; |
477 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 477 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
478 | "Session %p/connection %p: currently disconnecting, reconnecting immediately\n", | 478 | "Session %p/connection %jp: currently disconnecting, reconnecting immediately\n", |
479 | s, s->client_put); | 479 | s, s->client_put); |
480 | return msgbuf_size; | 480 | return msgbuf_size; |
481 | } | 481 | } |
@@ -485,7 +485,7 @@ http_client_plugin_send (void *cls, | |||
485 | GNUNET_assert (s->put_disconnect_task != GNUNET_SCHEDULER_NO_TASK); | 485 | GNUNET_assert (s->put_disconnect_task != GNUNET_SCHEDULER_NO_TASK); |
486 | GNUNET_SCHEDULER_cancel (s->put_disconnect_task); | 486 | GNUNET_SCHEDULER_cancel (s->put_disconnect_task); |
487 | s->put_disconnect_task = GNUNET_SCHEDULER_NO_TASK; | 487 | s->put_disconnect_task = GNUNET_SCHEDULER_NO_TASK; |
488 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 488 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
489 | "Session %p/connection %p: unpausing connection\n", | 489 | "Session %p/connection %p: unpausing connection\n", |
490 | s, s->client_put); | 490 | s, s->client_put); |
491 | s->put_paused = GNUNET_NO; | 491 | s->put_paused = GNUNET_NO; |
@@ -494,7 +494,7 @@ http_client_plugin_send (void *cls, | |||
494 | else if (GNUNET_YES == s->put_tmp_disconnected) | 494 | else if (GNUNET_YES == s->put_tmp_disconnected) |
495 | { | 495 | { |
496 | /* PUT connection was disconnected, reconnect */ | 496 | /* PUT connection was disconnected, reconnect */ |
497 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 497 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
498 | "Session %p: Reconnecting PUT connection\n", | 498 | "Session %p: Reconnecting PUT connection\n", |
499 | s); | 499 | s); |
500 | s->put_tmp_disconnected = GNUNET_NO; | 500 | s->put_tmp_disconnected = GNUNET_NO; |
@@ -746,7 +746,7 @@ client_send_cb (void *stream, size_t size, size_t nmemb, void *cls) | |||
746 | if (GNUNET_YES == s->put_tmp_disconnecting) | 746 | if (GNUNET_YES == s->put_tmp_disconnecting) |
747 | { | 747 | { |
748 | 748 | ||
749 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 749 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
750 | "Session %p/connection %p: disconnect due to inactivity\n", | 750 | "Session %p/connection %p: disconnect due to inactivity\n", |
751 | s, s->client_put); | 751 | s, s->client_put); |
752 | return 0; | 752 | return 0; |
@@ -1064,7 +1064,7 @@ client_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1064 | { | 1064 | { |
1065 | if ((0 != msg->data.result) || (http_statuscode != 200)) | 1065 | if ((0 != msg->data.result) || (http_statuscode != 200)) |
1066 | { | 1066 | { |
1067 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, | 1067 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, |
1068 | "Session %p/connection %p: PUT connection to `%s' ended with status %i reason %i: `%s'\n", | 1068 | "Session %p/connection %p: PUT connection to `%s' ended with status %i reason %i: `%s'\n", |
1069 | s, msg->easy_handle, GNUNET_i2s (&s->target), | 1069 | s, msg->easy_handle, GNUNET_i2s (&s->target), |
1070 | http_statuscode, | 1070 | http_statuscode, |
@@ -1072,7 +1072,7 @@ client_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1072 | curl_easy_strerror (msg->data.result)); | 1072 | curl_easy_strerror (msg->data.result)); |
1073 | } | 1073 | } |
1074 | else | 1074 | else |
1075 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, | 1075 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, |
1076 | "Session %p/connection %p: PUT connection to `%s' ended normal\n", | 1076 | "Session %p/connection %p: PUT connection to `%s' ended normal\n", |
1077 | s, msg->easy_handle, GNUNET_i2s (&s->target)); | 1077 | s, msg->easy_handle, GNUNET_i2s (&s->target)); |
1078 | if (s->client_get == NULL) | 1078 | if (s->client_get == NULL) |
@@ -1175,7 +1175,7 @@ client_connect_put (struct Session *s) | |||
1175 | { | 1175 | { |
1176 | CURLMcode mret; | 1176 | CURLMcode mret; |
1177 | /* create put connection */ | 1177 | /* create put connection */ |
1178 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, | 1178 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |
1179 | "Session %p : Init PUT handle \n", s); | 1179 | "Session %p : Init PUT handle \n", s); |
1180 | s->client_put = curl_easy_init (); | 1180 | s->client_put = curl_easy_init (); |
1181 | #if VERBOSE_CURL | 1181 | #if VERBOSE_CURL |