Denial-of-service flood control
authorGavin Andresen <gavinandresen@gmail.com>
Wed, 16 Feb 2011 18:18:11 +0000 (13:18 -0500)
committerGavin Andresen <gavinandresen@gmail.com>
Wed, 16 Feb 2011 18:18:11 +0000 (13:18 -0500)
commit9cbae55a6ed6fcc46e636b4ae670816aab3746ec
tree0151584a07bced17758f2eb40f6a7271af68ed7c
parentcf7c1874fead05a828a1a28a239da411a0cb725e
Denial-of-service flood control
Drop connections that are either sending messages too fast to handle or are processing messages so slowly data starts to back up.
Adds two new options:
  -maxreceivebuffer  Default: 2000 (2000*1000 bytes)
  -maxsendbuffer     Default: 256  (256*1000 bytes)
net.cpp