aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2016-10-26 04:20:59 +0000
committerBart Polot <bart@net.in.tum.de>2016-10-26 04:20:59 +0000
commita1b813f91534964d4897fad27636961511c84987 (patch)
tree4054b10797425194124b29896d103c8df1f71ff3 /src
parent4af6ba201b444853becae1981f07f2ae021397ec (diff)
downloadgnunet-a1b813f91534964d4897fad27636961511c84987.tar.gz
gnunet-a1b813f91534964d4897fad27636961511c84987.zip
- reset timeout for early keepalive on CONN_ACK
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index 37d55a5b0..956da15b5 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -2144,7 +2144,10 @@ GCC_handle_confirm (struct CadetPeer *peer,
2144 2144
2145 /* If just created, cancel the short timeout and start a long one */ 2145 /* If just created, cancel the short timeout and start a long one */
2146 if (CADET_CONNECTION_SENT == oldstate) 2146 if (CADET_CONNECTION_SENT == oldstate)
2147 {
2148 c->create_retry = 1;
2147 connection_reset_timeout (c, GNUNET_YES); 2149 connection_reset_timeout (c, GNUNET_YES);
2150 }
2148 2151
2149 /* Change connection state, send ACK */ 2152 /* Change connection state, send ACK */
2150 connection_change_state (c, CADET_CONNECTION_READY); 2153 connection_change_state (c, CADET_CONNECTION_READY);