percept stop_webserver fix

Ahmed Omar <>
Thu Dec 16 11:47:47 CET 2010

Fixes a bug found in percept:stop_webserver/1, where it doesn't stop the
webserver completely

percept:stop_webserver/1 will only stop the httpd service in inets, but not
the percept_httpd process. As a result, when trying to start the webserver
again it will return {error, already_started}. Test case was updated to
simulate this case and fix is included to stop the webserver in a consistent
way wether stop_webserver/0 or stop_webserver/1 was used.

git fetch git:// *percept_web_stop*

Best Regards,
- Ahmed Omar
Follow me on twitter
@spawn_think <!/spawn_think>

More information about the erlang-patches mailing list