debian/patches/raise-netctl-timeout.patch
raw| 1 | From: Santiago Vila <[email protected]> |
| 2 | Subject: Raise NetCtl response header timeout to 10s |
| 3 | Bug-Debian: https://bugs.debian.org/1145073 |
| 4 | |
| 5 | --- a/netctl.go |
| 6 | +++ b/netctl.go |
| 7 | @@ -401,7 +401,7 @@ |
| 8 | return c.dial(ctx, &tls.Dialer{Config: tlsConfig}, network, addr) |
| 9 | }, |
| 10 | TLSClientConfig: tlsConfig, |
| 11 | - ResponseHeaderTimeout: time.Second, |
| 12 | + ResponseHeaderTimeout: 10 * time.Second, |
| 13 | ExpectContinueTimeout: time.Second, |
| 14 | } |
| 15 | } |