New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Occasionally ATS does not send the full request body to upstream #11038
Comments
I found this issue is reproducible in 9.2.3 or 10.0.x. Also I did another experiment with a debug log added:. In https://github.com/hnakamur/ats-nginx-bad-request/blob/ats-submodule/tcpdump-nginx-2b.log, ATS sent request body of length 344 as opposed to Content-Length: 1024 request header. I found reader_start_offset (
I noticed the sum of
I still don't have a clue why this issue happens. |
During my experiments involving the sending of numerous requests with a 1KiB body, I have observed that ATS occasionally fails to transmit the complete request body to the upstream server.
I have provided a reproducible case of this issue on GitHub:
https://github.com/hnakamur/ats-nginx-bad-request/tree/enable_debug_log
Additionally, log files and TCP dump outputs have been included within the repository to facilitate further analysis.
In contrast to the expected
Content-Length: 1024
request header, as shown in this specific log, ATS only transmits 344 bytes of the body.Your assistance in investigating this matter further would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: