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

Function timeout_reply

modules/http2d/server.c:487–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485
486
487static int timeout_reply(nghttp2_session *session,
488 http2_stream_data *stream_data) {
489 nghttp2_nv hdrs[] = {MAKE_NV(":status", "408")};
490
491 if (send_response_empty(session, stream_data->stream_id, hdrs, ARRLEN(hdrs)) != 0)
492 return -1;
493
494 return 0;
495}
496
497
498/* Minimum check for directory traversal. Returns nonzero if it is

Callers 1

on_request_recvFunction · 0.85

Calls 1

send_response_emptyFunction · 0.85

Tested by

no test coverage detected