Welcome! Log In Create A New Profile

Advanced

Re: Error occurs when both padding and continuation are enabled

Valentin V. Bartenev
January 26, 2016 06:56AM
On Tuesday 26 January 2016 16:00:08 Shengtuo Hu wrote:
> Hi,
>
> Another error I met recently. It occurred when both padding and
> continuation are enabled.
>
> A normal HEADERS frame was divided as follows:
> HEADERS ===> HEADERS(PADDED_FLAG) + CONTINUATION + CONTINUATION
>
> After sending these frames, I got an error. In the debug log file, I found
> "client sent inappropriate frame while CONTINUATION was expected while
> processing HTTP/2 connection". Then I read the source code (v 1.9.9), and
> located the function "ngx_http_v2_handle_continuation" (ngx_http_v2.c, line
> 1749). It seems NGINX does not skip the "padding part", but tries to read
> "type" field in the next CONTINUATION frame directly.
>
[..]

Yes, you're right. It isn't able to skip padding between HEADERS and
CONTINUATION frames.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Error occurs when both padding and continuation are enabled

h1994st January 26, 2016 03:02AM

Re: Error occurs when both padding and continuation are enabled

Valentin V. Bartenev January 26, 2016 06:56AM

Re: Error occurs when both padding and continuation are enabled

Valentin V. Bartenev February 02, 2016 09:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready