Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

read_body lua API hung for h2 post requests

$
0
0
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.

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>