daemon/http: HTTP response codes
All threads resolved!
All threads resolved!
Compare changes
Files
2+ 80
− 27
@@ -8,6 +8,7 @@
@@ -18,16 +19,26 @@
@@ -38,6 +49,17 @@
@@ -47,6 +69,11 @@ struct http_data {
@@ -340,7 +367,8 @@ static int header_callback(nghttp2_session *h2, const nghttp2_frame *frame,
@@ -360,7 +388,7 @@ static int header_callback(nghttp2_session *h2, const nghttp2_frame *frame,
@@ -442,7 +470,7 @@ static int data_chunk_recv_callback(nghttp2_session *h2, uint8_t flags, int32_t
@@ -463,6 +491,7 @@ static int submit_to_wirebuffer(struct http_ctx *ctx)
@@ -496,12 +525,12 @@ static int on_frame_recv_callback(nghttp2_session *h2, const nghttp2_frame *fram
@@ -670,36 +699,60 @@ static ssize_t read_callback(nghttp2_session *h2, int32_t stream_id, uint8_t *bu
@@ -761,7 +814,7 @@ static int http_write_pkt(struct http_ctx *ctx, knot_pkt_t *pkt, int32_t stream_