Cannot post large body.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the issue with echo-nginx-module and the provided Nginx settings, comparing requests below 1 KB with bodies larger than several tens of KB. Trace how large request bodies are handled after echo_read_request_body; done means the client body is present in Nginx logs for large requests as well as small ones.
Written by the indexing model from the issue text.
Description
I found that echo-module cannot print nginx log when I post a large body,(not so large, such as more than 20K);
Everything works fine if I post a client body smaller than 1kb, there are good Nginx logs.
It doesn't work If client body size is more than several TEN KB bytes. the client body is '-' in the Nginx log.
I've added 'echo_read_request_body;' in the location to avoid an empty $request_body because Nginx may save client body to a temp file;
I've configured following in my Nginx.conf:
client_max_body_size 1024M;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 250
- Avg merge
- 25m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openresty/echo-nginx-module
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openresty/echo-nginx-module#127 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
openresty/echo-nginx-module#117 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
openresty/echo-nginx-module#115 · 1 comment ·
-
Update nginx 1.25.5Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
openresty/echo-nginx-module#114 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
openresty/echo-nginx-module#112 ·
All issues in openresty/echo-nginx-module
Similar issues
-
[Issue]: hipsparselt.h C API as shipped now requires C23 -- ONLY because of missing include or guardOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ROCm/rocm-libraries#13736 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
`inverse()` of a controlled `CUGate` drops the phase parameter γPossibly taken @rupasri118 claimed this today. Openbug mod: circuit
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Qiskit/qiskit#17223 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PackageKit/PackageKit#1026 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenPrinting/libcupsfilters#284 ·
Maintainers usually reply within 1 day