-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
client: add a WithNoProxy dialoption #3411
Conversation
046b819
to
a2064dc
Compare
a2064dc
to
17279ac
Compare
This issue is labeled as requiring an update from the reporter, and no update has been received after 7 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
ping @pdbogen |
Thanks for the ping, and for your patience! The original requests for change came in while I was on vacation, so I'd forgotten about them. |
e96614e
to
7194582
Compare
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.
Thanks for the fix. LGTM!
@menghanl Isn't that a breaking change? I saw this feature in the changelog (knowing that we did something similar in moby/swarmkit#2802), but if consumers of this package setup their own I think |
Ehm, ignore my comment, had my wires crossed; blame it on "commenting before enough coffee" |
Hullo! I'm working with a system that talks to some things via grpc and some things not via grpc. (actually, talking over a UNIX domain socket via grpc 😬).
The non-grpc things are mostly HTTP requests that we do need to proxy. The grpc things, as noted, as via local sockets, which can't and shouldn't be proxied.
Providing our own dialer is an option, but this seems a little cleaner and like other folks might also find it useful.