Skip to content

Conversation

@adriangitvitz
Copy link
Contributor

@adriangitvitz adriangitvitz commented Sep 21, 2023

Fixes: #3010

Changes:

  • Remove cache for ClientIP

This was tested using the provided nginx configuration from the following discussion
( minio/minio#17878 (comment))

Local test environment, using LXC ( Ubuntu 22.04 ):

  • Nginx Proxy
  • Minio Server

@cesnietor
Copy link
Collaborator

Can you please add more details to the description of the PR, including which issue it fixes, changes/context and how to test it.
Some examples: #3047, #3038.

@dvaldivia
Copy link
Collaborator

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

dvaldivia
dvaldivia previously approved these changes Oct 9, 2023
Copy link
Collaborator

@dvaldivia dvaldivia left a 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.

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested.

Copy link
Collaborator

@bexsoft bexsoft left a 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

@dvaldivia dvaldivia dismissed harshavardhana’s stale review October 9, 2023 19:07

There's no global storage of the client anymore

@bexsoft bexsoft enabled auto-merge (squash) October 9, 2023 19:12
@bexsoft bexsoft merged commit 4018add into minio:master Oct 9, 2023
@cesnietor cesnietor mentioned this pull request Nov 1, 2023
cesnietor pushed a commit to cesnietor/console that referenced this pull request Jan 12, 2024
cesnietor pushed a commit to cesnietor/console that referenced this pull request Jan 12, 2024
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.

GetConsoleHTTPClient should not cache clientIP

6 participants