-
Notifications
You must be signed in to change notification settings - Fork 290
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
Fix: cache clientIP in GetConsoleHTTPClient #3056
Conversation
I tested the fix, it does addresses the problem, but let's remove the http client cache and make the casting of the transport more defensive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. Works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Tested along side with @dvaldivia & @adriangitvitz
There's no global storage of the client anymore
Fixes: #3010
Changes:
This was tested using the provided nginx configuration from the following discussion
( minio/minio#17878 (comment))
Local test environment, using LXC ( Ubuntu 22.04 ):