# HG changeset patch # User Sergey Kandaurov # Date 1521550691 -10800 # Node ID 25a4353633a0a4c84d431d7d3c15fdafe16d3c53 # Parent 190591ab0d76cef420f666522a0b1ccd70d33e3f 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. diff --git a/src/http/modules/ngx_http_grpc_module.c b/src/http/modules/ngx_http_grpc_module.c --- a/src/http/modules/ngx_http_grpc_module.c +++ b/src/http/modules/ngx_http_grpc_module.c @@ -2410,6 +2410,7 @@ ngx_http_grpc_parse_header(ngx_http_requ } ctx->padding = 0; + ctx->frame_state = state; } if (state < sw_fragment) {