Skip to content
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

Improves reusing tcp connections by reading all bytes from the response body #814 #819

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

OliverMautschke
Copy link
Contributor

@OliverMautschke OliverMautschke commented Aug 11, 2022

Fix for #814

We added a DrainTransport Wrapper for the CF Client, as advised here google/go-github#317. It makes sure, that all bytes are read from the response before the body is closed.

co-authored: @KevinJCross

@OliverMautschke OliverMautschke added bug allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. labels Aug 11, 2022
Copy link
Contributor

@KevinJCross KevinJCross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KevinJCross KevinJCross merged commit 9e15741 into main Aug 11, 2022
@KevinJCross KevinJCross deleted the adding-transport branch August 11, 2022 14:42
@KevinJCross KevinJCross changed the title Fixes not reusing tcp connections by reading all bytes from the response body #814 Improves reusing tcp connections by reading all bytes from the response body #814 Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants