aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_client.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-09-20 13:49:39 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-09-20 13:49:39 +0000
commitbf1b49f1927a4f89563a774ccc609034843ebc18 (patch)
tree7fd99209ed768453aca8966c4b0784791f55328a /src/transport/plugin_transport_http_client.c
parentde9530925391111d24a7806a45040373850747b1 (diff)
downloadgnunet-bf1b49f1927a4f89563a774ccc609034843ebc18.tar.gz
gnunet-bf1b49f1927a4f89563a774ccc609034843ebc18.zip
- changes
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r--src/transport/plugin_transport_http_client.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index 2f754c586..bcc97edc7 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -153,11 +153,22 @@ struct Session
153 */ 153 */
154 void *client_put; 154 void *client_put;
155 155
156
157 /**
158 * Is the client PUT handle currently paused
159 */
156 int put_paused; 160 int put_paused;
157 161
162 /**
163 * Is the client PUT handle disconnect in progress?
164 */
158 int put_tmp_disconnecting; 165 int put_tmp_disconnecting;
159 166
167 /**
168 * Is the client PUT handle temporarily disconnected?
169 */
160 int put_tmp_disconnected; 170 int put_tmp_disconnected;
171
161 /** 172 /**
162 * Client receive handle 173 * Client receive handle
163 */ 174 */
@@ -1137,13 +1148,13 @@ client_connect_put (struct Session *s)
1137 /* create put connection */ 1148 /* create put connection */
1138 if (NULL == s->client_put) 1149 if (NULL == s->client_put)
1139 { 1150 {
1140 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, 1151 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name,
1141 "Session %p : Init PUT handle \n", s); 1152 "Session %p : Init PUT handle \n", s);
1142 s->client_put = curl_easy_init (); 1153 s->client_put = curl_easy_init ();
1143 } 1154 }
1144 else 1155 else
1145 { 1156 {
1146 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, s->plugin->name, 1157 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name,
1147 "Session %p : Reusing PUT handle %p \n", s, s->client_put); 1158 "Session %p : Reusing PUT handle %p \n", s, s->client_put);
1148 } 1159 }
1149#if VERBOSE_CURL 1160#if VERBOSE_CURL