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

Function session_send

modules/http2d/server.c:286–294  ·  view source on GitHub ↗

Serialize the frame and send (or buffer) the data to bufferevent. */

Source from the content-addressed store, hash-verified

284/* Serialize the frame and send (or buffer) the data to
285 bufferevent. */
286static int session_send(http2_session_data *session_data) {
287 int rv;
288 rv = nghttp2_session_send(session_data->session);
289 if (rv != 0) {
290 LM_WARN("Fatal error: %s", nghttp2_strerror(rv));
291 return -1;
292 }
293 return 0;
294}
295
296/* Read the data in the bufferevent and feed them into nghttp2 library
297 function. Invocation of nghttp2_session_mem_recv2() may make

Callers 3

session_recvFunction · 0.85
writecbFunction · 0.85
eventcbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected