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

Masatake Daimon <>
Fri May 17 07:30:22 CEST 2013


Oops. I meant to send this to erlang-patches. Sorry for the noise.

On 05/17/13 14:15, 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,
>


-- 
大門 正岳 <>


More information about the erlang-bugs mailing list