log the real client ip when using httpupgrade transport#3608
Open
scncpazl wants to merge 1 commit intov2fly:masterfrom
Open
log the real client ip when using httpupgrade transport#3608scncpazl wants to merge 1 commit intov2fly:masterfrom
scncpazl wants to merge 1 commit intov2fly:masterfrom
Conversation
Contributor
|
Thanks for the contribution. This function should be controlled via a option, rather than applied by default, as when listening directly, this ip address can be set by client. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3608 +/- ##
==========================================
- Coverage 23.21% 23.19% -0.03%
==========================================
Files 836 836
Lines 45454 45464 +10
==========================================
- Hits 10552 10544 -8
- Misses 33685 33700 +15
- Partials 1217 1220 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#3329
Through testing with Nginx, the real IP address can be obtained, not 127.0.0.1.