()
| 249 | } |
| 250 | |
| 251 | func (c *Client) maxIdleConns() int { |
| 252 | if c.MaxIdleConns > 0 { |
| 253 | return c.MaxIdleConns |
| 254 | } |
| 255 | return DefaultMaxIdleConns |
| 256 | } |
| 257 | |
| 258 | // ConnectTimeoutError is the error type used when it takes |
| 259 | // too long to connect to the desired host. This level of |