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:
Sergey Kandaurov 2018-03-20 15:58:11 +03:00
parent 74ea120f7d
commit e232421266

View File

@ -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) {