[−][src]Struct http_async::Configuration
Configuration of the HTTP Server.
Fields
address: SocketAddr
Address, on which the Server should listen to.
maxContent: usize
Maximum Bytes of Request Content. Prevents DOS by Allocation a large Buffer (Header ›Content-Length‹ could contain any decimal value) without ever filling it.
maxHeaderEntries: usize
Maximum Numbers of Headers. Prevents Slow Lorris Attacks: Client might slowly send Header by Header for ever, but because neither the Connection times out nor the Request every ends, the Server keeps reading the Stream.
maxHeaderLength: usize
Maximum Length of a Header.
maxPathLength: usize
Maximum Length of Path. Prevents Slow Lorris Attacks.
maxQueryLength: usize
Maximum Length of Query String. Prevents Slow Lorris Attacks.
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,