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

feat: configurable request header read timeout #1664

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TheoTechnicguy
Copy link
Contributor

As discussed in #1653, this pull request introduces changes to the HTTP server configuration, adding a new configuration parameter for request header read timeouts, updating the HTTP server initialization to use this new parameter, and adjusting the server creation logic accordingly.

This commit adds a request header read timeout configuration parameter.
As it is part of the downloading cycle, it is available under
`blocking/loading/downloads`.
The default value comes from `server/http.go` line 21.

Refs: 0xERR0R#1653
@TheoTechnicguy TheoTechnicguy marked this pull request as ready for review December 13, 2024 10:33
@TheoTechnicguy TheoTechnicguy changed the title feat: custom read header timeout feat: configurable request header read timeout Dec 13, 2024
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.88%. Comparing base (fe84ab8) to head (2d004c3).
Report is 167 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1664      +/-   ##
==========================================
- Coverage   93.88%   93.88%   -0.01%     
==========================================
  Files          78       80       +2     
  Lines        6361     6572     +211     
==========================================
+ Hits         5972     6170     +198     
- Misses        300      318      +18     
+ Partials       89       84       -5     

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

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.

1 participant