muhttpd 1.1.2 Released

muhttpd 1.1.2 Released

Robbert Haarman

2013-01-06

Posted by inglorion
at 2009-08-01 12:38:27

A friendly netizen calling himself "jfk" was kind enough to report a bug in muhttpd: new connections are handled by forking a new process (as is usual on Unix), but muhttpd handled connections in the parent process while continuing to listen in the child process, instead of the other way around.

The result of this is that, on each connection, the pid would change, making things like stopping muhttpd by killing a pid stored in a file not work.

The bug has been fixed in the new release: 1.1.2

Thanks, jfk.