Call nghttp2_hd_end_headers from nghttp2_hd_deflate_hd

This commit is contained in:
Tatsuhiro Tsujikawa
2013-09-03 21:41:22 +09:00
parent dd4151330e
commit 1723912f35
2 changed files with 15 additions and 0 deletions

View File

@@ -874,6 +874,7 @@ ssize_t nghttp2_hd_deflate_hd(nghttp2_hd_context *deflater,
nghttp2_hd_entry *ent = deflater->hd_table[i];
ent->flags &= ~(NGHTTP2_HD_FLAG_EMIT | NGHTTP2_HD_FLAG_IMPLICIT_EMIT);
}
nghttp2_hd_end_headers(deflater);
return offset - nv_offset;
fail:
deflater->bad = 1;