MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / trace_json_reply

Function trace_json_reply

modules/mi_http/mi_http.c:264–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static inline void trace_json_reply(struct mi_cmd* f,
265 union sockaddr_union* cl_socket, str* message)
266{
267 if ( f && !is_mi_cmd_traced( mi_trace_mod_id, f) )
268 return;
269
270 if ( !sv_socket ) {
271 sv_socket = httpd_api.get_server_info();
272 }
273
274 mi_trace_reply(sv_socket, cl_socket, message, t_dst);
275}
276
277int mi_json_answer_to_connection (void *cls, void *connection,
278 const char *url, const char *method,

Callers 1

Calls 2

is_mi_cmd_tracedFunction · 0.85
mi_trace_replyFunction · 0.85

Tested by

no test coverage detected