//! Validation and normalization for server configuration.
//!
//! This module provides functionality to validate and normalize server configuration
//! values, including legacy field migration.
/// Normalize legacy field values for backward compatibility.
///
/// If `max_upload_mb` is set, it will be converted to bytes and used to
/// override `max_multipart_field_bytes`. This allows old configurations
/// using the legacy field to continue working.