diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-07-21 00:15:25 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-07-21 00:15:25 +0000 |
commit | e8e5fe03777690cf98b3c23edd09001ff13533fd (patch) | |
tree | 1be1aef620f99a1c9f6d41ef5a5a8d656c50b0a7 /src/cadet | |
parent | c71f4ec2f893ace0fb9ce7c6b98d799bb79bd30e (diff) | |
download | gnunet-e8e5fe03777690cf98b3c23edd09001ff13533fd.tar.gz gnunet-e8e5fe03777690cf98b3c23edd09001ff13533fd.zip |
- debug INFO for missing keepalive in BCK
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index d46a0a399..fc489df23 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -949,7 +949,10 @@ static void | |||
949 | connection_maintain (struct CadetConnection *c, int fwd) | 949 | connection_maintain (struct CadetConnection *c, int fwd) |
950 | { | 950 | { |
951 | if (GNUNET_NO != c->destroy) | 951 | if (GNUNET_NO != c->destroy) |
952 | { | ||
953 | LOG (GNUNET_ERROR_TYPE_INFO, "not sending keepalive, being destroyed\n"); | ||
952 | return; | 954 | return; |
955 | } | ||
953 | 956 | ||
954 | if (NULL == c->t) | 957 | if (NULL == c->t) |
955 | { | 958 | { |
@@ -960,6 +963,7 @@ connection_maintain (struct CadetConnection *c, int fwd) | |||
960 | if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t)) | 963 | if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t)) |
961 | { | 964 | { |
962 | /* TODO DHT GET with RO_BART */ | 965 | /* TODO DHT GET with RO_BART */ |
966 | LOG (GNUNET_ERROR_TYPE_INFO, "not sending keepalive, tunnel SEARCHING\n"); | ||
963 | return; | 967 | return; |
964 | } | 968 | } |
965 | switch (c->state) | 969 | switch (c->state) |