Fix {stream, {self, once}} in httpc
Masatake Daimon <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
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,
--
大門 正岳 <[email protected]>
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches