| 218 | } |
| 219 | |
| 220 | static 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 | |
| 230 | static http2_session_data *create_http2_session_data(app_context *app_ctx, |
| 231 | int fd, |
no test coverage detected