Comments (4)
This happens when the actual length of body is larger than the length declared in Content-Length request header.
from nginx-upload-module.
Hi Vladimir,
Yes, you are absolutely right, I was not using the PHP Curl library properly (trusting CURLOPT_INFILESIZE to
stop sending data instead of using a CURLOPT_READFUNCTION callback and managing that myself). Anyway,
it now works properly (I removed the CURLOPT_VERBOSE option for clarity) :
201 -> 0-262118/1800417
201 -> 0-524237/1800417
201 -> 0-786356/1800417
201 -> 0-1048475/1800417
201 -> 0-1310594/1800417
201 -> 0-1572713/1800417
200 -> stdClass Object
(
[format] => Flash Video
[acodec] => MPEG Audio
[vcodec] => H.263
[duration] => 30320
[bitrate] => 475044
[dimension] => 320x240
[name] => infile
[size] => 1800417
[url] => http://localhost/files/8dcbee8592e4f2f6f8b410e2e11ac00b.flv#c2VhbD02Yzg5ODc5ODMwMjY3YmE5ZGU2Y2Q1MTM4OTBjZDE5MyZmb3JtYXQ9Rmxhc2grVmlkZW8mYWNvZGVjPU1QRUcrQXVkaW8mdmNvZGVjPUguMjYzJmR1cmF0aW9uPTMwMzIwJmJpdHJhdGU9NDc1MDQ0JmRpbWVuc2lvbj0zMjB4MjQwJm5hbWU9aW5maWxlJnNpemU9MTgwMDQxNyZoYXNoPTlhYjA0MjZhY2U5ODRmNGEzZjdjNGUwODZiNmI2ZDNlNGE5M2ViM2Q=
[hash] => 9ab0426ace984f4a3f7c4e086b6b6d3e4a93eb3d
[seal] => 6c89879830267ba9de6cd513890cd193
)
However, don't you think those strange messages in the error log are an indication of a potential memory corruption,
and that the module should be amended to address a potential DOS issue?
Thanks,
Pierre-Yves
from nginx-upload-module.
No, this is not an indication of a memory corruption, it's just the data of the request body interpreted as HTTP request. Furthermore, this message is produced by nginx and the module has not influence on it.
from nginx-upload-module.
Understoud, thx again!
from nginx-upload-module.
Related Issues (20)
- build error with boringssl
- File name of 25 characters or more, corrupt the upload_field_name.path in the http header HOT 4
- POST form data are lost when using chunk mode of blueimp-jQuery-File-Upload HOT 1
- Compile errors on windows HOT 4
- Upload failing with http2 HOT 3
- Problem with compiling 2.2 with nginx 1.19 HOT 3
- nginx崩溃 HOT 3
- Upload to fastcgi backend HOT 2
- web client cross domain, not work HOT 1
- chunked upload file hashes dropped
- behind upload_pass only can use php? HOT 5
- why `upload_pass_form_field` does not work HOT 3
- Hi, when will you release a new tag ? HOT 2
- Does this support http3? HOT 1
- Uploaded files do not appear in the directory HOT 1
- unable to build with nginx HOT 2
- Nginx error - Page is temporarily unavailable.
- upload_file_name
- upload_pass_form_field does not work HOT 1
- I don't want to use the proxy feature. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-upload-module.