tests: Break if all compressed header input processed in nghttp2_buf
This commit is contained in:
parent
59e6272ba4
commit
a0a5f4f93e
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue