[erlang-patches] percept stop_webserver fix

Ahmed Omar <>
Thu Dec 16 22:50:10 CET 2010


Extended the test case to verify both stopping functions , please refetch

On Thu, Dec 16, 2010 at 5:46 PM, Niclas Axelsson <> wrote:

> 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
>



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


More information about the erlang-patches mailing list