lpereira / lwan

Experimental, scalable, high performance HTTP server

Home Page:https://lwan.ws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handling 0 bytes files

murataka opened this issue · comments

Hello , i just installed lwan on freebsd with zfs file system.

after starting lwan , update files to be served,

When i put a zero bytes index.html in wwwroot, the response does not finish.

root@rescue:~ # cd tmp
root@rescue:/tmp # cd wwwroot/
root@rescue:
/tmp/wwwroot # touch index.html

try to browse the server...

the case also happens with other files than index.html.

Indeed that's a problem in FreeBSD, thanks for reporting. The filesystem doesn't seem to matter (my FreeBSD machine doesn't have a ZFS filesystem).

Should be fixed now. Please confirm (and feel free to reopen if it isn't).

Confirmed. Problem solved 👍