lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.94k stars 548 forks source link

lwan_init() errantly requires a .conf file #228

Closed HalosGhost closed 6 years ago

HalosGhost commented 6 years ago

While running the hello-world example from the home page, it became clear that lwan_init() also requires a config file to run.

More than just requiring a config file, the config appears to need to be populated, at least, with a listener line.

Given that lwan_init_with_config() is a thing, this seems like a bug.

lpereira commented 6 years ago

Should be fixed, thanks for reporting