masterzen / nginx-upload-progress-module

Nginx module implementing an upload progress system, that monitors RFC1867 POST uploads as they are transmitted to upstream servers.
http://wiki.codemongers.com/NginxHttpUploadProgressModule
Other
432 stars 101 forks source link

Received and size are the same #54

Open dmatora opened 7 years ago

dmatora commented 7 years ago

Contrary to a bug report #42 this bug is present when using http1.1 connections.

Faced the issue on nginx + nginx-extras from

http2 is not used 10.211.55.2 - - [01/Oct/2017:19:24:35 +0300] "POST /upload.php?X-Progress-ID=1 HTTP/1.1" 400 0 "http://nem.deb/upload.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"

client_body_buffer_size 32k is not helping

even tried debian wheezy nginx 1.2.1, but there progress will just keep saying {state: "starting"}

masterzen commented 7 years ago

Thanks for the report.

While it is very possible that you found a bug, it is also possible that you're not testing correctly (if you look at the closed issues about the same issues in HTTP/1.1, you'll find numerous invalid bug).

Anyway, I can't tell if you encountered a bug or not, you need to activate the debug mode and send me (either privately to my e-mail address or by posting here) a full debug log of both the upload and the upload probe progress attempt.

A few notes:

Please send me the full debug log if you want to have more information.

Thanks, Brice