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

Function send_response_empty

modules/http2d/server.c:431–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431static int send_response_empty(nghttp2_session *session, int32_t stream_id,
432 nghttp2_nv *nva, size_t nvlen) {
433 int rv;
434
435 rv = nghttp2_submit_response2(session, stream_id, nva, nvlen, NULL);
436 if (rv != 0) {
437 LM_WARN("Fatal error: %s", nghttp2_strerror(rv));
438 return -1;
439 }
440 return 0;
441}
442
443static const char ERROR_HTML[] = "<html><head><title>500</title></head>"
444 "<body><h1>500 Internal Server Error</h1></body></html>";

Callers 1

timeout_replyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected