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

Masatake Daimon daimon@REDACTED
Fri May 17 07:32:09 CEST 2013


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,
-- 
大門 正岳 <daimon@REDACTED>



More information about the erlang-patches mailing list