summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy/httptransport.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-06-16 14:29:42 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2021-06-16 14:29:42 -0600
commit238914d70b0f6c277494f0296a15eb9eb84ecc76 (patch)
tree1b322548c2f817008d662374d4b3633a903d58fc /modules/caddyhttp/reverseproxy/httptransport.go
parente8ae80adca5db7102e646954fcc53827732ceb83 (diff)
Some misc. cleanup
The fastcgi changes came from v1 which don't make sense in v2. Fix comment about default value in reverse proxy keep alive.
Diffstat (limited to 'modules/caddyhttp/reverseproxy/httptransport.go')
-rw-r--r--modules/caddyhttp/reverseproxy/httptransport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/httptransport.go b/modules/caddyhttp/reverseproxy/httptransport.go
index f217a4b..1932851 100644
--- a/modules/caddyhttp/reverseproxy/httptransport.go
+++ b/modules/caddyhttp/reverseproxy/httptransport.go
@@ -411,7 +411,7 @@ type KeepAlive struct {
// Maximum number of idle connections. Default: 0, which means no limit.
MaxIdleConns int `json:"max_idle_conns,omitempty"`
- // Maximum number of idle connections per host. Default: 0, which uses Go's default of 2.
+ // Maximum number of idle connections per host. Default: 32.
MaxIdleConnsPerHost int `json:"max_idle_conns_per_host,omitempty"`
// How long connections should be kept alive when idle. Default: 0, which means no timeout.