Add a rate limiting circuit breaker to the network controller to prevent flooding attacks and race conditions.
This commit is contained in:
parent
3ba54c7e35
commit
b3516c599b
4 changed files with 20 additions and 1 deletions
|
@ -54,7 +54,8 @@ public:
|
|||
NETCONF_QUERY_OK = 0,
|
||||
NETCONF_QUERY_OBJECT_NOT_FOUND = 1,
|
||||
NETCONF_QUERY_ACCESS_DENIED = 2,
|
||||
NETCONF_QUERY_INTERNAL_SERVER_ERROR = 3
|
||||
NETCONF_QUERY_INTERNAL_SERVER_ERROR = 3,
|
||||
NETCONF_QUERY_IGNORE = 4
|
||||
};
|
||||
|
||||
NetworkController() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue