diff --git a/CHANGELOG.md b/CHANGELOG.md index d427fc5..edb8921 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - update to use nopoll v 1.0.2 - Add pause/resume heartBeatTimer - parodus event handler to listen to interface_down and interface_up event +- Pause connection retry during interface_down event ## [1.0.2] - 2019-02-08 - Refactored connection.c and updated corresponding unit tests diff --git a/src/connection.c b/src/connection.c index 877a55e..b2aaa9c 100644 --- a/src/connection.c +++ b/src/connection.c @@ -590,7 +590,8 @@ int createNopollConnection(noPollCtx *ctx) pthread_mutex_unlock (get_interface_down_mut()); ParodusInfo("Interface is back up, re-initializing the convey header\n"); // Reset the reconnect reason by initializing the convey header again - ((header_info_t *)(&conn_ctx.header_info))->conveyHeader = getWebpaConveyHeader(); + ((header_info_t *)(&conn_ctx.header_info))->conveyHeader = getWebpaConveyHeader(); + ParodusInfo("Received reconnect_reason as:%s\n", reconnect_reason); } }