-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Close streams with Reset instead of Close when closing streaming connections #22802
Close streams with Reset instead of Close when closing streaming connections #22802
Conversation
Labelling this PR as size/XS |
GCE e2e build/test passed for commit a0535451aebc236ce6d5d02425ea1e1a30d5325e. |
@liggitt care to review? |
cc @kubernetes/rh-cluster-infra |
Is this correctness or just an optimization? If the former, should I be asking for a test? (if not, LGTM) |
I should be able to do a test for this On Thursday, March 10, 2016, Daniel Smith notifications@github.com wrote:
|
…ections This ensures that the call to close the underlying streaming connection will execute immediately, instead of waiting for all streams to gracefully shut down.
a053545
to
01b33ec
Compare
Labelling this PR as size/L |
@lavalamp now with unit test (holy cow that was difficult to write!) |
@lavalamp if you omit the change to connection.go, this new test will fail. |
GCE e2e build/test passed for commit 01b33ec. |
LGTM, thanks for the test!! |
@bgrant0607 @yujuhong what priority is appropriate for this? |
Manually merging. @k8s-oncall |
…sing-connection Close streams with Reset instead of Close when closing streaming connections
…s-when-closing-connection Close streams with Reset instead of Close when closing streaming connections
This PR is included in #22874 which is slated to be included in the release-1.2 branch. |
…s-when-closing-connection Close streams with Reset instead of Close when closing streaming connections
…s-when-closing-connection Close streams with Reset instead of Close when closing streaming connections
This ensures that the call to close the underlying streaming connection will execute immediately,
instead of waiting for all streams to gracefully shut down.
Ref #19014