Commit a0a5f4f9 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

tests: Break if all compressed header input processed in nghttp2_buf

parent 59e6272b
......@@ -192,6 +192,10 @@ ssize_t inflate_hd(nghttp2_hd_inflater *inflater, nva_out *out,
if (inflate_flags & NGHTTP2_HD_INFLATE_FINAL) {
break;
}
if ((inflate_flags & NGHTTP2_HD_INFLATE_EMIT) == 0 &&
nghttp2_buf_len(&bp) == 0) {
break;
}
}
}
......
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