aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2016-03-10 17:43:50 +0100
committerAnders Svensson <[email protected]>2016-03-13 07:10:11 +0100
commit993d540a3ad0f2fc932fdfb0aabba06cb03f320c (patch)
treec7f07b76f72aed653695885f8021494873cd6ac1 /lib/snmp
parent2ffb288d8daeb72c27c5cead30ce779682bdd8b0 (diff)
downloadotp-993d540a3ad0f2fc932fdfb0aabba06cb03f320c.tar.gz
otp-993d540a3ad0f2fc932fdfb0aabba06cb03f320c.tar.bz2
otp-993d540a3ad0f2fc932fdfb0aabba06cb03f320c.zip
Let a throttling callback discard a received message
This can be used as a simple form of overload protection, discarding the message before it's passed into diameter to become one more request process in a flood. Replying with 3004 would be more appropriate when the request has been directed at a specific server (the RFC's requirement) however, and possibly it should be possible for a callback to do this as well.
Diffstat (limited to 'lib/snmp')
0 files changed, 0 insertions, 0 deletions