MCPcopy Create free account
hub / github.com/acl-dev/acl / timer_retry

Function timer_retry

lib_protocol/samples/http_probe/probe_run.cpp:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22static void timer_retry(PROBE_SERVER *server)
23{
24 if (server->stream != NULL)
25 close_stream(server);
26
27 if (server->res != NULL) {
28 http_res_free(server->res);
29 server->res = NULL;
30 server->hdr_res = NULL;
31 } else if (server->hdr_res != NULL) {
32 http_hdr_res_free(server->hdr_res);
33 server->hdr_res = NULL;
34 }
35
36 acl_aio_request_timer(server->aio, timer_fn, server,
37 server->probe_inter * 1000000, 0);
38}
39
40static void msg_info(PROBE_SERVER *server, const char *fmt, ...)
41{

Callers 4

get_body_readyFunction · 0.85
get_header_readyFunction · 0.85
timer_fnFunction · 0.85
acl_foreachFunction · 0.85

Calls 4

http_res_freeFunction · 0.85
http_hdr_res_freeFunction · 0.85
acl_aio_request_timerFunction · 0.85
close_streamFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…