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

remove shutdown method on the Connection #4249

Merged
merged 1 commit into from Jan 19, 2024

Conversation

marten-seemann
Copy link
Member

There's no need to have a dedicated shutdown method, as the use case (shutting down an outgoing connection attempt on context cancellation) can be achieved by using Connection.destroy.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (d3c2020) 84.15% compared to head (7c62a5e) 84.11%.

Files Patch % Lines
client.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4249      +/-   ##
==========================================
- Coverage   84.15%   84.11%   -0.05%     
==========================================
  Files         150      150              
  Lines       15404    15398       -6     
==========================================
- Hits        12963    12951      -12     
- Misses       1942     1946       +4     
- Partials      499      501       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

There's no need to have a dedicated shutdown method, as the use case
(shutting down an outgoing connection attempt on context cancellation)
can be achieved by using Connection.destroy.
@marten-seemann marten-seemann merged commit b3eb375 into master Jan 19, 2024
34 checks passed
@marten-seemann marten-seemann deleted the remove-connection-shutdown branch January 19, 2024 06:06
nanokatze pushed a commit to nanokatze/quic-go that referenced this pull request Feb 1, 2024
There's no need to have a dedicated shutdown method, as the use case
(shutting down an outgoing connection attempt on context cancellation)
can be achieved by using Connection.destroy.
mgjeong pushed a commit to mgjeong/quic-go that referenced this pull request Feb 13, 2024
There's no need to have a dedicated shutdown method, as the use case
(shutting down an outgoing connection attempt on context cancellation)
can be achieved by using Connection.destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant