In lighthttpd, when I set:
server.network-backend = "freebsd-sendfile"
the file upload just hangs for files > ~1MB, but if I change it to:
server.network-backend = "writev"
It seems to work fine, but I'm getting lower performance by using that setting. Is there a better solution?