@@ -70,7 +70,7 @@ type ClientBody struct {
70
70
// If the size in a request exceeds the configured value,
71
71
// the 413 (Request Entity Too Large) error is returned to the client.
72
72
// Setting size to 0 disables checking of client request body size.
73
- // Default: 1m .
73
+ // Default: https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size .
74
74
//
75
75
// +optional
76
76
MaxSize * Size `json:"maxSize,omitempty"`
@@ -79,7 +79,7 @@ type ClientBody struct {
79
79
// two successive read operations, not for the transmission of the whole request body.
80
80
// If a client does not transmit anything within this time, the request is terminated with the
81
81
// 408 (Request Time-out) error.
82
- // Default: 60s .
82
+ // Default: https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_timeout .
83
83
//
84
84
// +optional
85
85
Timeout * Duration `json:"timeout,omitempty"`
@@ -91,15 +91,15 @@ type ClientKeepAlive struct {
91
91
// After the maximum number of requests are made, the connection is closed. Closing connections periodically
92
92
// is necessary to free per-connection memory allocations. Therefore, using too high maximum number of requests
93
93
// is not recommended as it can lead to excessive memory usage.
94
- // Default: 1000 .
94
+ // Default: https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests .
95
95
//
96
96
// +optional
97
97
// +kubebuilder:validation:Minimum=0
98
98
Requests * int32 `json:"requests,omitempty"`
99
99
100
100
// Time defines the maximum time during which requests can be processed through one keep-alive connection.
101
101
// After this time is reached, the connection is closed following the subsequent request processing.
102
- // Default: 1h .
102
+ // Default: https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time .
103
103
//
104
104
// +optional
105
105
Time * Duration `json:"time,omitempty"`
@@ -111,16 +111,17 @@ type ClientKeepAlive struct {
111
111
}
112
112
113
113
// ClientKeepAliveTimeout defines the timeouts related to keep-alive client connections.
114
+ // Default: Default: https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout.
114
115
type ClientKeepAliveTimeout struct {
115
116
// Server sets the timeout during which a keep-alive client connection will stay open on the server side.
116
117
// Setting this value to 0 disables keep-alive client connections.
117
- // Default: 75s.
118
118
//
119
119
// +optional
120
120
Server * Duration `json:"server,omitempty"`
121
121
122
122
// Header sets the timeout in the "Keep-Alive: timeout=time" response header field.
123
123
//
124
+ //
124
125
// +optional
125
126
Header * Duration `json:"header,omitempty"`
126
127
}
0 commit comments