mirror of
https://github.com/telemt/telemt.git
synced 2026-11-01 13:21:58 +03:00
WEB Carrier behavior aligned w/ reference
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -90,7 +90,7 @@ pub enum ListenerTransport {
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, Default)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum WebClientIpSource {
|
||||
/// Require exactly one canonical IP in `X-Forwarded-For`.
|
||||
/// Use one parseable `X-Forwarded-For` address or the trusted direct peer.
|
||||
#[default]
|
||||
XForwardedFor,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user