Commits on Source (25)
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
ale authored
It was acting as an upper limit for the request lifetime, which isn't necessary on internal services.
-
renovate authored
-
ale authored
Use mime.ParseMediaType to obtain the main content type.
-
ale authored
The clients already support it (via the default net/http.Transport), and it can be enabled with a configuration parameter. The default is still currently disabled, though there is plan to flip it later to enabled-by-default if it proves to be working as expected in production. We also introduce, via a slight refactoring of the Serve() code, a test of the top-level http.Handler (with the full middleware stack).
Showing
- clientutil/balancer.go 2 additions, 1 deletionclientutil/balancer.go
- go.mod 8 additions, 11 deletionsgo.mod
- go.sum 38 additions, 239 deletionsgo.sum
- serverutil/http.go 51 additions, 17 deletionsserverutil/http.go
- serverutil/http_test.go 142 additions, 0 deletionsserverutil/http_test.go
- serverutil/json.go 7 additions, 10 deletionsserverutil/json.go
This diff is collapsed.
serverutil/http_test.go
0 → 100644