Actions
Bug #1441
closedmmap fails when HAVE_MEM_MMAP_ANON because of zero length
ASK QUESTIONS IN Forums:
Description
Because c->file.copy.length is not changed from 0 the mmap fails. If if it worked the assert further ahead would fail.
This patch fixes that.
To see if afected, search log files for:
network_posix_aio.c.358: (error) the mmap() failed, no way for a fallback:
connections.c.1370: (trace) (network-subsys sent us a fatal-error)
Files
Updated by japc about 17 years ago
Forgot to mention that this patch is for 1.5.0-r1992.
Updated by Anonymous almost 17 years ago
I can confirm this fix works. I had trouble applying the patch, but it's only one line, so I copied it into the source and it worked just fine. Add to trunk please.
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
not an issue in lighttpd 1.4.x
Actions
Also available in: Atom