mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 10:02:59 +08:00
gRPC: fixed missing state save in frame header parsing.
Previously, frame state wasn't saved if HEADERS frame payload that begins with header fragment was not received at once.
This commit is contained in:
parent
74ea120f7d
commit
e232421266
@ -2410,6 +2410,7 @@ ngx_http_grpc_parse_header(ngx_http_request_t *r, ngx_http_grpc_ctx_t *ctx,
|
||||
}
|
||||
|
||||
ctx->padding = 0;
|
||||
ctx->frame_state = state;
|
||||
}
|
||||
|
||||
if (state < sw_fragment) {
|
||||
|
Loading…
Reference in New Issue
Block a user