-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
curl with PUT method can upload a huge file (>2GB) on remote server but hangs and timeout #3352
Comments
thanks for reporting this issue. First of all, could you show us your relevant config, especially These lines are a bit suspicious:
mainly the |
Hello @airween and thanks for the answer , |
Thanks. And what is in |
Here are the files ( |
thanks for the config parts above. I tried to reproduce your issue, and I think I successfully did it - but unfortunately I couldn't find the cause yet. I suspect a connector/nginx problem rather than libmodsecurity3. See the last line in your debug.log:
This is typically the last line when audit.log is generating. Unfortunately this is a very unique issue, I'm not sure I have enough time to inspect this more. I can help you and try to help you, but - really sorry - this demands more time. If you can join to Slack (on channel #project-modsecurity), then I can help you online (if I'm ready). |
Hi @airween and thanks for your answer. |
Describe the bug
When we want to upload a huge file (>2GB) to a remote web site (Artifactory in our case) , our http client hangs indefinitely.
However, the file is correctly uploaded to Artifactory.
Logs and dumps
Output of:
To Reproduce
On a GNU/Linux machine do :
Then, the
curl
hangs.Expected behavior
curl
ends whithout error.Server :
ModSecurity
v3.0.12
and3.0.14
withnginx-connector
v1.0.3
nginx-1.18.0
GNU/Linux
,Ubuntu 22.04
Rule Set (please complete the following information):
4.5.0
Additional context
client -> haproxy -> nginx(+ modesec) -> Artifactory
Core Security Rules
usagemodsecurity off;
in my vhost configurationHTTP 201
PUT
Attachments:
The text was updated successfully, but these errors were encountered: