struct

HT2::RapidResetProtection::Config

Inherits Struct < Value < Object

Configuration for rapid reset protection

Constructors

new(max_streams_per_second : Int32 = 100, max_rapid_resets_per_minute : Int32 = 50, rapid_reset_threshold_ms : Float64 = 100.0, ban_duration : Time::Span = 5.minutes, pending_stream_limit : Int32 = 1000)
Source

Instance methods

ban_duration
Source
ban_duration=(ban_duration : Time::Span)
Source
max_rapid_resets_per_minute
Source
max_rapid_resets_per_minute=(max_rapid_resets_per_minute : Int32)
Source
max_streams_per_second
Source
max_streams_per_second=(max_streams_per_second : Int32)
Source
pending_stream_limit
Source
pending_stream_limit=(pending_stream_limit : Int32)
Source
rapid_reset_threshold_ms
Source
rapid_reset_threshold_ms=(rapid_reset_threshold_ms : Float64)
Source