diff options
| author | Alexander Barton <alex@barton.de> | 2014-03-18 14:48:52 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2014-03-18 14:53:29 +0100 |
| commit | 35f1db5f28245579efbbb06eed6eaf1a3d6d84bc (patch) | |
| tree | 1f43bd429df0f93b945cd0db52f9883c8996f6e6 /src/tool | |
| parent | 4c2acd55c6ecb8d9a6a1c6c5c86295fdd859820c (diff) | |
| download | ngircd-35f1db5f28245579efbbb06eed6eaf1a3d6d84bc.tar.gz ngircd-35f1db5f28245579efbbb06eed6eaf1a3d6d84bc.zip | |
Handle "throttling" in a single function
ngIRCd uses "command throttling" and "bps throttling" (bytes per second). The states are detected in different functions, Conn_Handler() and Read_Request(), but handle the actual "throttling" in a common function: this enables us to guarantee consistent behavior and to disable throttling for special connections in only one place, eventually.
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions