Project

General

Profile

Actions

Bug #1599

closed

Lighttpd 1.5 - Threaded stat() sends corrupted data when a file's content changes

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

Status:
Obsolete
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

When the content of a static file changes, lighty 1.5 threaded stat() gets a file size, then when read() occurs, the length is no more the right one and lighty sends corrupted data.


network_gthread_aio.c.388: (error) read() returned 333 instead of 383
connections.c.1381: (trace) (network-subsys sent us a fatal-error)

Since there's no real workaround for this, it would be nice to have an option to disable threaded stat() for specific directories.

-- Frank Denis

Actions #1

Updated by nitrox over 16 years ago

with server.use-noatime="enable" i see some weirdness on different backends too, so is it enabled on this setup? if so, disabling it causes the same behaviour?

also some more info´s on your setup, read/stat-threads and stuff?

Actions #2

Updated by gstrauss over 8 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes

FYI: handled much better in lighttpd 1.4.40

Actions #3

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom