New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
=htc #20236 enable streaming responses with Connection: close
#20254
Conversation
Can one of the repo owners verify this patch? |
OK TO TEST |
LGTM, awesome catch - thanks a lot @2Beaucoup ! |
Test PASSed. |
@@ -169,21 +169,17 @@ private[http] object OutgoingConnectionBlueprint { | |||
private def entitySubstreamStarted = entitySource ne null | |||
private def idle = this | |||
private var completionDeferred = false | |||
private var completeOnMessageEnd = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't the existing boolean field be used for both completion scenarios? (doesn't matter much, just curious)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought about that too but wasn't sure if completionDeferred
is guaranteed to be set after completeOnMessageEnd. completionDeferred |= closeRequested
should work though.
LGTM |
Thanks again! On 7 April 2016 at 18:39:46, Johan Andrén (notifications@github.com) wrote: LGTM — |
fixes #20236
/cc @sirthias