HT2::RapidResetProtection
Inherits Reference < Object
Protection against CVE-2023-44487 (Rapid Reset Attack) This attack involves rapidly creating and canceling HTTP/2 streams to exhaust server resources.
Constructors
new(config : Config = Config.new)
SourceInstance methods
config
Sourcerecord_stream_cancelled(stream_id : UInt32, connection_id : String) : Bool
Record stream cancellation (RST_STREAM)
record_stream_created(stream_id : UInt32, connection_id : String) : Bool
Record new stream creation