[erlang-patches] percept stop_webserver fix

Niclas Axelsson <>
Thu Dec 16 17:46:17 CET 2010


On 12/16/2010 11:47 AM, Ahmed Omar wrote:
> 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*
>
>    
Thanks Ahmed,

Will include your patch into 'pu'.

Regards,
Niclas Axelsson, Erlang/OTP


More information about the erlang-patches mailing list