[erlang-patches] Fix potential memory/process leaks caused by invalid http headers

Fredrik fredrik@REDACTED
Thu Mar 7 09:54:59 CET 2013


On 03/07/2013 02:30 AM, cao xu wrote:
> Hi
> When issue a httpc request such as 
> httpc:request(get, {"http://www.sina.com.cn 
> <http://www.sina.com.cn/>", [{"cookie",undefined}]}, [], []), the 
> httpc_handler process who handle the request will crash and the caller 
> will hang forever by waiting for  the response. I believe it would be 
> better to return an error here, so I've committed a patch for it.
>
> git fetch git://github.com/RYTong/otp.git inets-httpc-patches
>
> and the compare view is under:
>
> https://github.com/RYTong/otp/compare/maint...inets-httpc-patches
>
> https://github.com/RYTong/otp/compare/maint...inets-httpc-patches.patch
>
> BR
>
> Xu Cao
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Fetched and currently in the 'pu' branch.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130307/2a6808e5/attachment.htm>


More information about the erlang-patches mailing list