daemon/http: ensure HTTP headers are freed
All threads resolved!
All threads resolved!
Compare changes
Files
3+ 56
− 23
@@ -175,6 +175,10 @@ static int check_uri(const char* uri_path)
@@ -216,7 +220,7 @@ static int process_uri_path(struct http_ctx *ctx, const char* path, int32_t stre
@@ -251,6 +255,18 @@ static void refuse_stream(nghttp2_session *h2, int32_t stream_id)
@@ -258,15 +274,8 @@ static void http_cleanup_stream(struct http_ctx *ctx)
@@ -357,6 +366,7 @@ static int header_callback(nghttp2_session *h2, const nghttp2_frame *frame,
@@ -428,6 +438,32 @@ static int data_chunk_recv_callback(nghttp2_session *h2, uint8_t flags, int32_t
@@ -439,7 +475,6 @@ static int data_chunk_recv_callback(nghttp2_session *h2, uint8_t flags, int32_t
@@ -448,21 +483,12 @@ static int on_frame_recv_callback(nghttp2_session *h2, const nghttp2_frame *fram
@@ -744,8 +770,15 @@ void http_free(struct http_ctx *ctx)