Skip to content

Commit

Permalink
server: remove proxy timeout validation (#151)
Browse files Browse the repository at this point in the history
The proxy timeout should be optional.
  • Loading branch information
andydunstall authored Aug 14, 2024
1 parent e37ae01 commit 890a206
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ func (c *ProxyConfig) Validate() error {
if c.BindAddr == "" {
return fmt.Errorf("missing bind addr")
}
if c.Timeout == 0 {
return fmt.Errorf("missing timeout")
}
if err := c.TLS.Validate(); err != nil {
return fmt.Errorf("tls: %w", err)
}
Expand Down

0 comments on commit 890a206

Please sign in to comment.