1.5 r 1811 on osx crashes after one request...
$ /tmp/lightytest/sbin/lighttpd -f /tmp/lightytest/lighttpd.conf
log.c.148: (trace) server started
network_posix_aio.c:333: failed assertion `c->file.copy.length > 0'
Updated by gstrauss over 3 years ago
Please close. Likely fixed a long time ago. Additionally, new feature to use sendfile() on Darwin was recently added to 1.4.x branch.
commit 159ca0c15d71355457337d859aea2c3fc6ccb2ca Author: Kyle J. McKay <firstname.lastname@example.org> Date: Fri Dec 4 20:48:21 2015 +0000 [network] add darwin-sendfile backend (fixes #2687) The FreeBSD version of sendfile is already supported. Starting with OS X 10.5, Darwin also supports sendfile, but using a slightly different argument list even though much of the implementation is likely taken from FreeBSD just like the man page is. Add support for darwin's sendfile by introducing a new network_darwin_sendfile.c file that's just a copy of the network_freebsd_sendfile.c file except with the arguments adjusted to compensate for the minor API difference (FreeBSD has separate in and out byte count arguments whereas Darwin has a combined in/out byte count argument). Signed-off-by: Kyle J. McKay <email@example.com> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3060 152afb58-edef-0310-8abb-c4023f1b3aa9
Also available in: Atom