mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-01 07:21:39 +00:00
Punish parse errors (else you can get DoS)
This commit is contained in:
parent
2cb6148dce
commit
5711ca3503
@ -269,7 +269,7 @@ impl ChorusError {
|
||||
ChorusError::NoSuchSubscription => 0.05,
|
||||
ChorusError::PocketDb(_) => 0.0,
|
||||
ChorusError::PocketDbHeed(_) => 0.0,
|
||||
ChorusError::PocketType(_) => 0.0,
|
||||
ChorusError::PocketType(_) => 0.25,
|
||||
ChorusError::ProtectedEvent => 0.35,
|
||||
ChorusError::RealIpHeaderMissing => 0.0,
|
||||
ChorusError::Restricted => 0.1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user