[erlang-patches] percept stop_webserver fix

Niclas Axelsson burbas@REDACTED
Mon Dec 20 11:25:51 CET 2010


On 12/16/2010 10:50 PM, Ahmed Omar wrote:
> Extended the test case to verify both stopping functions , please refetch
>
> On Thu, Dec 16, 2010 at 5:46 PM, Niclas Axelsson<burbas@REDACTED>  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
>>
>>      
>
>
>    
Thanks Ahmed,

I have refetched your branch.

Regards,
Niclas Axelsson, Erlang/OTP


More information about the erlang-patches mailing list