nghttp2_hd: Fix crash
This commit is contained in:
parent
785ea36046
commit
2d08d30409
|
@ -460,7 +460,7 @@ static int emit_indname_header(nghttp2_hd_context *context,
|
||||||
if(rv != 0) {
|
if(rv != 0) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
if(NGHTTP2_HD_FLAG_VALUE_GIFT) {
|
if(flags & NGHTTP2_HD_FLAG_VALUE_GIFT) {
|
||||||
return track_decode_buf(context, value);
|
return track_decode_buf(context, value);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue