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://github.com/spawnthink/otp.git *percept_web_stop*

-- 
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>


More information about the erlang-patches mailing list