Skip to content

Commit b169c44

Browse files
author
kabbohus
committed
Move ConnectionInspectionTimeout into TCP timeout section
1 parent ec646b9 commit b169c44

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

api/v1alpha1/timeout_types.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,6 @@ type ClientTimeout struct {
7171
//
7272
// +optional
7373
HTTP *HTTPClientTimeout `json:"http,omitempty"`
74-
75-
// ConnectionInspectionTimeout is the maximum time to wait for initial inspection
76-
// (TLS / SNI and protocol detection, or HTTP protocol parsing) of an incoming connection.
77-
// If exceeded, the connection is dropped.
78-
// Default: 15 seconds.
79-
//
80-
// +optional
81-
ConnectionInspectionTimeout *gwapiv1.Duration `json:"connectionInspectionTimeout,omitempty"`
8274
}
8375

8476
// TCPClientTimeout only provides timeout configuration on the listener whose protocol is TCP or TLS.
@@ -97,6 +89,14 @@ type TCPClientTimeout struct {
9789
//
9890
// +optional
9991
HandshakeTimeout *gwapiv1.Duration `json:"handshakeTimeout,omitempty"`
92+
93+
// ConnectionInspectionTimeout is the maximum time to wait for initial inspection
94+
// (TLS / SNI and protocol detection, or HTTP protocol parsing) of an incoming connection.
95+
// If exceeded, the connection is dropped.
96+
// Default: 15 seconds.
97+
//
98+
// +optional
99+
ConnectionInspectionTimeout *gwapiv1.Duration `json:"connectionInspectionTimeout,omitempty"`
100100
}
101101

102102
type HTTPClientTimeout struct {

0 commit comments

Comments
 (0)