summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/LPdir_unix.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2012-08-18 15:39:26 +0000
committereric <eric@openbsd.org>2012-08-18 15:39:26 +0000
commit9989e8aed487f84afd6dbdf3e4376c6840d4ae24 (patch)
tree14ec0cdb9bd4ffa43c62c3ba90fbb0a35b8a1eef /lib/libcrypto/LPdir_unix.c
parentDon't try to printf() a time_t value with %d. Cast to (int) just (diff)
downloadwireguard-openbsd-9989e8aed487f84afd6dbdf3e4376c6840d4ae24.tar.xz
wireguard-openbsd-9989e8aed487f84afd6dbdf3e4376c6840d4ae24.zip
Limit the number of bounce sessions running at the same time. When
committed, a bounce is put on a runnable list of bounces. This list is drained to enqueue as much bounces as possible within the limit. This avoids DoS'ing the server when lots of bounces are enqueued at startup. While there, allow new envelopes to be added to a bounce until the the very last moment (i.e. when the list of recipients is written). ok gilles@ chl@
Diffstat (limited to 'lib/libcrypto/LPdir_unix.c')
0 files changed, 0 insertions, 0 deletions