]> git.meshlink.io Git - meshlink/commit
Simplify rate limiting of incoming connections.
authorGuus Sliepen <guus@meshlink.io>
Tue, 20 Nov 2018 15:07:44 +0000 (16:07 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 20 Nov 2018 15:07:44 +0000 (16:07 +0100)
commit06a9d580c37d80c680c3dda2ff8f3c53f487c735
treea1152fbd26b19355d9b2250edf3eb93c15a84ac5
parentae73e19ce57b80c561b81170ab48f3cf6f1a41eb
Simplify rate limiting of incoming connections.

We now really allow max_connection_burst connections per second, rather
than only allowing one second per connection on average, but allowing
a burst of max_connection_burst connections to go through.
src/net_socket.c