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

Function delete_http2_stream_data

modules/http2d/server.c:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static void delete_http2_stream_data(http2_stream_data *stream_data) {
221 if (stream_data->fd != -1)
222 close(stream_data->fd);
223
224 free(stream_data->path);
225 cJSON_Delete(stream_data->hdrs);
226 pkg_free(stream_data->data.s);
227 pkg_free(stream_data);
228}
229
230static http2_session_data *create_http2_session_data(app_context *app_ctx,
231 int fd,

Callers 2

on_stream_close_callbackFunction · 0.85

Calls 1

cJSON_DeleteFunction · 0.50

Tested by

no test coverage detected