Project

General

Profile

Actions

Bug #3195

closed

Upload of large files (350MiB) fails after approx. 180MiB using v1.4.69 with PHP 8.1.2 (re-created)

Added by stadler about 1 year ago. Updated about 1 year ago.

Status:
Duplicate
Priority:
Low
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

Relates to: https://redmine.lighttpd.net/issues/3194

"Have you tried with lighttpd 1.4.69?"
Upgraded, but no change.

"strace of lighttpd during the failure might be useful"
Attached end of strace log (used lighttpd 1.4.69) of failed upload.
File size was 303820800 bytes. According to wireshark whole file was uploaded in single TCP transfer.

Some discrepancies in sizes ( due to headers ? )
Filesize in Windows: 303820800
Content length in lighttpd log: 303820998
TCP payload size in Wireshark: 303821528

"You did not attach the lighttpd config. You attached only the top-level lighttpd.conf file"
The only config file we have is the one which was attached lighttpd.conf.
The webserver is only used for embedded software updates (local network)


Files

end_of_failed_upload.txt (3.3 KB) end_of_failed_upload.txt stadler, 2023-03-15 15:09
lighttpd.log (3.43 KB) lighttpd.log stadler, 2023-03-15 15:16

Related issues 1 (0 open1 closed)

Is duplicate of Bug #3194: Upload of large files (350MiB) fails after approx. 180MiB uwing v1.4.67 with PHP 8.1.2InvalidActions
Actions #1

Updated by gstrauss about 1 year ago

  • Status changed from New to Duplicate
  • Priority changed from Normal to Low
  • Target version deleted (1.4.xx)

Not sure why you think you should open a new bug instead of providing missing information the bug you filed a week ago.

Not sure why you are incapable of reading simple instructions.
I wrote in #3194

Please review How to get support and HowToReportABug

You clearly failed to read and understand the first link, which includes simple instructions how to print your lighttpd config.


The end_of_failed_upload.txt file you attached shows that lighttpd completed upload of the file, forked your CGI, and attached the (now unlinked) temporary file (containing the request body) to stdin of the CGI. If your PHP expected a pipe on stdin instead of a file, please fix your PHP. lighttpd might attach a pipe or a file to stdin of CGI.

In either case, this is not a bug in lighttpd.
Let me repeat that: this is not a bug in lighttpd.

If you troubleshoot and have further questions, please post in the Forums with good information in your question.

Actions #2

Updated by gstrauss about 1 year ago

  • Is duplicate of Bug #3194: Upload of large files (350MiB) fails after approx. 180MiB uwing v1.4.67 with PHP 8.1.2 added
Actions

Also available in: Atom