-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Area: ClientIncludes Channel/Subchannel/Streams, Connectivity States, RPC Retries, Dial/Call Options and more.Includes Channel/Subchannel/Streams, Connectivity States, RPC Retries, Dial/Call Options and more.Type: Bug
Description
What version of gRPC are you using?
1.64.0 and v1.67.0-dev
What version of Go are you using (go version
)?
1.22
What operating system (Linux, Windows, …) and version?
Linux
What did you do?
If possible, provide a recipe for reproducing the error.
- setup a squid proxy
- setup grpc client(examples/helloworld/greeter_client) and grpc server(examples/helloworld/greeter_server) to use tls
- run grpc server
- on client shell set env var for using proxy(export https_proxy="http://<proxy_host:port")
- start tcpdump
What did you expect to see?
the target should be hostname while it's sent to proxy and dns resolution for target should happen on proxy
What did you see instead?
dns is resolved on the client and only ip is sent.
Attaching tcpdump screenshot with difference
erezrokah and ukurysheva
Metadata
Metadata
Assignees
Labels
Area: ClientIncludes Channel/Subchannel/Streams, Connectivity States, RPC Retries, Dial/Call Options and more.Includes Channel/Subchannel/Streams, Connectivity States, RPC Retries, Dial/Call Options and more.Type: Bug