Skip to content

Commit

Permalink
Add timeouts settings in the HTTP options (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn authored Jun 26, 2024
1 parent 0f9fb60 commit 276dff4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,11 @@ type TLSOptions struct {
}

type HTTPOptions struct {
Compress *bool `json:"compress,omitempty" toml:"compress,omitempty"`
Response *HTTPResponseOptions `json:"response,omitempty" toml:"response,omitempty"`
H2Backend *bool `json:"h2_backend,omitempty" toml:"h2_backend,omitempty"`
Compress *bool `json:"compress,omitempty" toml:"compress,omitempty"`
Response *HTTPResponseOptions `json:"response,omitempty" toml:"response,omitempty"`
H2Backend *bool `json:"h2_backend,omitempty" toml:"h2_backend,omitempty"`
IdleTimeout *uint32 `json:"idle_timeout,omitempty" toml:"idle_timeout,omitempty"`
HeadersReadTimeout *uint32 `json:"headers_read_timeout,omitempty" toml:"headers_read_timeout,omitempty"`
}

type HTTPResponseOptions struct {
Expand Down

0 comments on commit 276dff4

Please sign in to comment.