[erlang-patches] Fix potential memory/process leaks caused by invalid http headers
cao xu
cao.xu@REDACTED
Thu Mar 7 02:30:10 CET 2013
Hi
When issue a httpc request such as httpc:request(get, {"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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130307/7613c796/attachment.htm>
More information about the erlang-patches
mailing list