From cacbc652d22338d0924ef64bccccb2f2fa3c83dc Mon Sep 17 00:00:00 2001 From: cbdev <cb@cbcdn.com> Date: Fri, 28 Mar 2025 19:47:54 +0100 Subject: Allow setting chunk size --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index fc7a9dd..fbb0478 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,15 @@ LD_PRELOAD=./slowloris.so curl 10.23.25.3 ``` A delay between individual send() calls (in microseconds) can be set by -providing `SLOWLORIS_DELAY` like so: +providing `SLOWLORIS_DELAY`. The default delay is `0`. ```shell SLOWLORIS_DELAY=1000 LD_PRELOAD=./slowloris.so curl 10.23.25.3 ``` + +The number of bytes sent per iteration can be set by supplying `SLOWLORIS_CHUNK`. +The default chunking is `1`. + +```shell +SLOWLORIS_CHUNK=10 LD_PRELOAD=./slowloris.so curl 10.23.25.3 +``` -- cgit v1.2.3