Project

General

Profile

Actions

Bug #362

closed

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

Added by Anonymous over 19 years ago. Updated over 16 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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?

-- tonka


Files

lighttpd_human_readable.ktrace (139 KB) lighttpd_human_readable.ktrace ktrace/kdump -- tonka Anonymous, 2005-11-09 16:59
Actions #1

Updated by Anonymous about 19 years ago

  • 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.

-- jan

Actions #2

Updated by Anonymous over 18 years ago

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

-- omniscientcolossus nospamat herenaforge.org

Actions #3

Updated by jwmcglynn about 18 years ago

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.

Actions #4

Updated by Anonymous over 16 years ago

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"

-- uspoerlein

Actions #5

Updated by stbuehler over 16 years ago

Unusable ktrace/strace/whatever, please give more details.

I would at least use "writev" instead of "write":


server.network-backend = "writev" 
Actions #6

Updated by stbuehler over 16 years ago

  • File deleted (xdl.avi)
Actions #7

Updated by stbuehler over 16 years ago

  • Status changed from Assigned to Invalid
  • Resolution set to missingfeedback
  • Patch available set to No
Actions #8

Updated by stbuehler over 16 years ago

  • Status changed from Invalid to Missing Feedback
Actions

Also available in: Atom