mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 07:06:53 +00:00
fix(metrics): keep S3 op counts when chains are disabled (#2675)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -20,10 +20,10 @@ use std::str::FromStr;
|
||||
use std::sync::LazyLock;
|
||||
|
||||
/// De-facto standard header keys.
|
||||
const X_FORWARDED_FOR: &str = "x-forwarded-for";
|
||||
const X_FORWARDED_PROTO: &str = "x-forwarded-proto";
|
||||
const X_FORWARDED_SCHEME: &str = "x-forwarded-scheme";
|
||||
const X_REAL_IP: &str = "x-real-ip";
|
||||
pub const X_FORWARDED_FOR: &str = "x-forwarded-for";
|
||||
pub const X_FORWARDED_PROTO: &str = "x-forwarded-proto";
|
||||
pub const X_FORWARDED_SCHEME: &str = "x-forwarded-scheme";
|
||||
pub const X_REAL_IP: &str = "x-real-ip";
|
||||
|
||||
/// RFC7239 defines a new "Forwarded: " header designed to replace the
|
||||
/// existing use of X-Forwarded-* headers.
|
||||
|
||||
Reference in New Issue
Block a user