Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8376 closed defect (fixed)

lighttpd reports negative Content-Length for files > 2G

Reported by: johannes.rudolph@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


This happens running on bifferboard version KAMIKAZE (bleeding edge, r22978) with package lighttpd - 1.4.26-3 installed.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by anonymous

Perhaps I should add that the dir-listing lists the files with the correct size.

comment:2 Changed 7 years ago by Johannes <johannes.rudolph@…>

There's another problem: with big files the issue reported in #2401 returns again.

I've fixed both issues by:

  1. changing the off_t size to 8 in include/site/i486-linux (see #5681)
  2. reverting the fix from #2401 by changing the network backend of lighttpd back to writev, since the 'write'-backend seems to try to mmap the complete file into memory which fails

The first problem (off_t size) seems to be a general problem someone should look into.

comment:3 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r26471, r26472

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.