bufbuild / httplb

Client-side load balancing for net/http
https://pkg.go.dev/github.com/bufbuild/httplb
Apache License 2.0
48 stars 2 forks source link

Fix TLS by hijacking dial instead of mutating request #42

Closed jchadwick-buf closed 1 year ago

jchadwick-buf commented 1 year ago

This follows advice from bradfitz regarding how to accomplish this goal.

Now resolvers are expected to apply default ports and return an address suitable for dialing when resolving.

jchadwick-buf commented 1 year ago

Tests are failing, sorry, let me figure that out.

jchadwick-buf commented 1 year ago

Can't work. This approach breaks HTTP proxies.