update release notes (#4086)

This commit is contained in:
fatedier 2024-03-20 15:16:01 +08:00 committed by GitHub
parent bc5fb91c05
commit c08be0fd92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,8 @@
This will create 8 proxies such as `tcp-6000, tcp-6001, ... tcp-6007`.
* Health check supports custom request headers.
### Fixes
* Fix the issue of incorrect interval time for rotating the log by day.

View File

@ -217,7 +217,7 @@ healthCheck.intervalSeconds = 10
healthCheck.maxFailed = 3
healthCheck.timeoutSeconds = 3
# set health check headers
healthCheck.httpheaders=[
healthCheck.httpHeaders=[
{ name = "x-from-where", value = "frp" }
]

View File

@ -97,8 +97,8 @@ type HealthCheckConfig struct {
// Path specifies the path to send health checks to if the
// health check type is "http".
Path string `json:"path,omitempty"`
// Headers specifies the headers to send health checks to if the
// health check type is "http".
// HTTPHeaders specifies the headers to send with the health request, if
// the health check type is "http".
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty"`
}