[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23920 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23920 - gnunet/src/transport |
Date: |
Thu, 20 Sep 2012 15:35:53 +0200 |
Author: wachs
Date: 2012-09-20 15:35:53 +0200 (Thu, 20 Sep 2012)
New Revision: 23920
Modified:
gnunet/src/transport/plugin_transport_http_client.c
Log:
- changes
Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2012-09-20 13:26:38 UTC
(rev 23919)
+++ gnunet/src/transport/plugin_transport_http_client.c 2012-09-20 13:35:53 UTC
(rev 23920)
@@ -157,6 +157,7 @@
int put_tmp_disconnecting;
+ int put_tmp_disconnected;
/**
* Client receive handle
*/
@@ -453,12 +454,12 @@
memcpy (msg->buf, msgbuf, msgbuf_size);
GNUNET_CONTAINER_DLL_insert_tail (s->msg_head, s->msg_tail, msg);
- if (GNUNET_YES == s->put_tmp_disconnecting)
+ if (GNUNET_YES == s->put_tmp_disconnected)
{
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name,
"Session %p: Reconnecting PUT connection\n",
s);
- s->put_tmp_disconnecting = GNUNET_NO;
+ s->put_tmp_disconnected = GNUNET_NO;
if (GNUNET_SYSERR == client_connect_put (s))
{
return GNUNET_SYSERR;
@@ -720,6 +721,8 @@
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name,
"Session %p/connection %p: disconnect due to
inactivity\n",
s, s->client_put);
+ s->put_tmp_disconnecting = GNUNET_NO;
+ s->put_tmp_disconnected = GNUNET_YES;
return 0;
}
@@ -1321,7 +1324,7 @@
s->ats_address_network_type = ats.value;
s->put_paused = GNUNET_NO;
s->put_tmp_disconnecting = GNUNET_NO;
-
+ s->put_tmp_disconnected = GNUNET_NO;
client_start_session_timeout (s);
/* add new session */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23920 - gnunet/src/transport,
gnunet <=