MCPcopy Create free account
hub / github.com/apache/qpid-proton / reset_reconnect

Function reset_reconnect

cpp/src/proactor_container_impl.cpp:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296void reset_reconnect(pn_connection_t* pnc) {
297 reconnect_context* rc = get_reconnect_context(pnc);
298
299 if (!rc) return;
300
301 rc->delay_ = 0;
302 rc->retries_ = 0;
303 // set retry to the initial url next
304 rc->current_url_ = -1;
305}
306
307}
308

Callers 1

dispatchMethod · 0.85

Calls 1

get_reconnect_contextFunction · 0.85

Tested by

no test coverage detected