Ticket #362 (assigned defect)

Opened 3 years ago

Last modified 7 weeks ago

Uploads above 64Kb not working when serving lighttpd on Mac OS X

Reported by: tonka Owned by: anonymous
Priority: normal Milestone:
Component: core Version: 1.4.x-svn
Severity: major Keywords: mac, os x, uploads
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

I've been unable to upload files above 64Kb when serving lighttpd from two different Macs, both running 10.4.3.

Files get uploaded to /var/tmp but that's all. Safari hangs forever pretending to be uploading the file. Similar behaving can be seen in Firefox and IE.

Here are my lighttpd (1.4.7) installation steps:

./configure --with-openssl
make
make install

I'm just going to attach a file with a ktrace/kdump I did.

These are the steps I did during the ktrace:

  1. Start lighty
  2. Call the upload form page from Safari
  3. Attach a 144KB file to the form and submit!
  4. Stop lighty

Note: Related to #360?

Attachments

lighttpd_human_readable.ktrace (139.1 kB) - added by tonka 3 years ago.
ktrace/kdump

Change History

Changed 3 years ago by tonka

ktrace/kdump

Changed 3 years ago by jan@…

  • owner changed from jan to anonymous
  • status changed from new to assigned

the ktrace only shows the startup phase of lighttpd before the fork() for the daemonize() call.

We don't see the actual file transfer.

Changed 21 months ago by omniscientcolossus nospamat herenaforge.org

I started getting the same error with web uploads recently with an ubuntu install of lighty using php5 in fastcgi mode...

Changed 18 months ago by jwmcglynn

This is a problem in Safari 2. Disable keepalive to Safari user agents and large uploads will work. Traffic sniffing reveals that Safari stops sending anything when it should send the file.

Changed 7 weeks ago by uspoerlein@…

  • pending unset

If you see the behaviour with FF and IE, too. Then try the following in your lighttpd.conf (it helped me to POST files >50MB to lighttpd running on FreeBSD 6.3)

server.network-backend = "write"

Add/Change #362 (Uploads above 64Kb not working when serving lighttpd on Mac OS X)

Author



Change Properties
<Author field>
Action
as assigned
 
Note: See TracTickets for help on using tickets.