diff options
author | teravus | 2013-10-07 23:19:50 -0500 |
---|---|---|
committer | teravus | 2013-10-07 23:19:50 -0500 |
commit | 75fdd6054d6605877acb511b1bd794de963a15f3 (patch) | |
tree | 4ef82542f1ad743f30ab963572805b12f185260a /OpenSim/Region/CoreModules/Avatar | |
parent | * Added a Basic DOS protection container/base object for the most common HTTP... (diff) | |
download | opensim-SC_OLD-75fdd6054d6605877acb511b1bd794de963a15f3.zip opensim-SC_OLD-75fdd6054d6605877acb511b1bd794de963a15f3.tar.gz opensim-SC_OLD-75fdd6054d6605877acb511b1bd794de963a15f3.tar.bz2 opensim-SC_OLD-75fdd6054d6605877acb511b1bd794de963a15f3.tar.xz |
* Refactor
* Break out common BasicDOSProtector code into separate class.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs index ed4b205..ff87ece 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs | |||
@@ -53,10 +53,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
53 | { | 53 | { |
54 | AllowXForwardedFor = true, | 54 | AllowXForwardedFor = true, |
55 | ForgetTimeSpan = TimeSpan.FromMinutes(2), | 55 | ForgetTimeSpan = TimeSpan.FromMinutes(2), |
56 | MaxRequestsInTimeframe = 5, | 56 | MaxRequestsInTimeframe = 20, |
57 | ReportingName = "FRIENDSDOSPROTECTOR", | 57 | ReportingName = "FRIENDSDOSPROTECTOR", |
58 | RequestTimeSpan = TimeSpan.FromSeconds(5), | 58 | RequestTimeSpan = TimeSpan.FromSeconds(5), |
59 | ThrottledAction = ThrottleAction.DoThrottledMethod | 59 | ThrottledAction = BasicDOSProtector.ThrottleAction.DoThrottledMethod |
60 | }) | 60 | }) |
61 | { | 61 | { |
62 | m_FriendsModule = fmodule; | 62 | m_FriendsModule = fmodule; |