OpenWrt Forum Archive

Topic: Large file support with kamikaze+lighttpd

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

Was the lighttpd package not compiled with LFS enabled ?

I have the latest kamikaze and lighttpd package installed on an asus wl-hdd. The web server is unable to serve files over 2 GB, because it returns a negative "Content-Length" header.

I know that lighttpd supports large files, but it is a compilation option (--enable-lfs). So was it compiled without LFS, or is openwrt incompatible with lighttpd's LFS ?

thanks

What did you use to write that file? Can you access it that way? Are you using kamikaze-2.6 or 2.4?

The file is fine, it is accessible through all other means (ftp, samba, etc).

I'm using kamikaze 7.09  (openwrt-brcm-2.4-squashfs.trx).

The --enable-lfs doesn't seem to be used in 7.09 or the latest trunk. You could try to build it yourself and rebuild the lighttpd package with that option. (CONFIGURE_ARGS+= in line 134 of the feeds/packages/net/lighttpd/Makefile)

The discussion might have continued from here.