[erlang-patches] Fix {stream, {self, once}} in httpc

Fredrik <>
Fri May 17 09:34:39 CEST 2013


On 05/17/2013 07:32 AM, Masatake Daimon wrote:
> Hello,
>
> Previously the only difference between {stream, self} and {stream,
> {self, once}} was an extra Pid in the stream_start message due to a
> bug in httpc_handler. It was immediately sending a bunch of messages
> till the end instead of waiting for httpc:stream_next/1 being called.
>
> Before applying this patch:
> https://gist.github.com/phonohawk/5589337#file-erl-before-log
>
> After:
> https://gist.github.com/phonohawk/5589337#file-erl-after-log
>
>     git fetch git://github.com/phonohawk/otp.git httpc-stream-once-fix
>
> https://github.com/phonohawk/otp/compare/erlang:maint...httpc-stream-once-fix 
>
>
> https://github.com/phonohawk/otp/compare/erlang:maint...httpc-stream-once-fix.patch 
>
>
> Regards,
Hello Masatake,
I've fetched your branch and it should be visible in the 'pu' branch 
shortly.
I also assigned to responsible team to review the patch.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team



More information about the erlang-patches mailing list