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

Add timeout for http request roundtripper #2996

Merged
merged 1 commit into from May 5, 2024

Conversation

xiaokangwang
Copy link
Contributor

This merge request add timeout for http round tripper to avoid attack with slow request. Beaware in typical usage, the requests are already authenticated before it reachs V2Ray.

@codecov-commenter
Copy link

Codecov Report

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

Project coverage is 35.60%. Comparing base (346ca66) to head (603c0ee).

Files Patch % Lines
...ort/internet/request/roundtripper/httprt/httprt.go 0.00% 7 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2996      +/-   ##
==========================================
+ Coverage   35.59%   35.60%   +0.01%     
==========================================
  Files         729      729              
  Lines       41613    41619       +6     
==========================================
+ Hits        14812    14820       +8     
- Misses      25167    25169       +2     
+ Partials     1634     1630       -4     

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

@xiaokangwang xiaokangwang merged commit 8b8a786 into v2fly:master May 5, 2024
37 of 39 checks passed
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

2 participants