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

http3: simplify buffering of small responses #4432

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

marten-seemann
Copy link
Member

This should also reduce our memory consumption, since we don't have to keep a bytes.Buffer around indefinitely.
This simplification will help a refactor that will eventually let us implement #3522.

@marten-seemann marten-seemann force-pushed the http3-simplify-small-response-buffering branch from 9d28854 to 287cc13 Compare April 13, 2024 19:04
Copy link

codecov bot commented Apr 13, 2024

Codecov Report

Attention: Patch coverage is 62.68657% with 25 lines in your changes are missing coverage. Please review.

Project coverage is 84.68%. Comparing base (b096e94) to head (287cc13).

Files Patch % Lines
http3/response_writer.go 61.54% 18 Missing and 7 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4432      +/-   ##
==========================================
- Coverage   84.77%   84.68%   -0.09%     
==========================================
  Files         152      152              
  Lines       14344    14362      +18     
==========================================
+ Hits        12160    12162       +2     
- Misses       1683     1694      +11     
- Partials      501      506       +5     

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

@marten-seemann marten-seemann merged commit 90627f6 into master Apr 13, 2024
34 checks passed
@marten-seemann marten-seemann deleted the http3-simplify-small-response-buffering branch April 13, 2024 23:46
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