Welcome! Log In Create A New Profile

Advanced

read_body lua API hung for h2 post requests

Posted by mkothapa 
read_body lua API hung for h2 post requests
November 16, 2016 04:04PM
Hi everyone,

I am experimenting using POST over h2. The use case is to read full request body in rewrite phase in a LUA script and then hash the request body for further undisclosed use. What I am seeing is if client request body is already read by the time read_body lua API is called, read_body API hangs for h2. However, the API works fine for http 1.1, that is, it returns the pre-read client request body. The problem is not with the API itself, but with the implementation in ngx_http_v2_read_request_body function. I am posting the message to check if this is a known bug and if it's already fixed.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready