Commit 66832e9f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Allow NGHTTP2_FLAG_END_SEGMENT in nghttp2_submit_headers()

parent 53302406
...@@ -75,8 +75,9 @@ static int nghttp2_submit_headers_shared ...@@ -75,8 +75,9 @@ static int nghttp2_submit_headers_shared
rv = NGHTTP2_ERR_NOMEM; rv = NGHTTP2_ERR_NOMEM;
goto fail; goto fail;
} }
/* TODO Implement header continuation */ flags_copy =
flags_copy = (flags & (NGHTTP2_FLAG_END_STREAM | NGHTTP2_FLAG_PRIORITY)) | (flags & (NGHTTP2_FLAG_END_STREAM | NGHTTP2_FLAG_PRIORITY |
NGHTTP2_FLAG_END_SEGMENT)) |
NGHTTP2_FLAG_END_HEADERS; NGHTTP2_FLAG_END_HEADERS;
nghttp2_frame_headers_init(&frame->headers, flags_copy, stream_id, pri, nghttp2_frame_headers_init(&frame->headers, flags_copy, stream_id, pri,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment