aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2025-03-28 19:47:54 +0100
committercbdev <cb@cbcdn.com>2025-03-28 19:47:54 +0100
commitcacbc652d22338d0924ef64bccccb2f2fa3c83dc (patch)
tree81e32538e3ecdb5125a5ae72361a32a3ffd92580 /README.md
parent98d5f5f0997a53ef80d9a3dac6b5feced61d2d22 (diff)
downloadpreload-slowloris-master.tar.gz
preload-slowloris-master.tar.bz2
preload-slowloris-master.zip
Allow setting chunk sizeHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
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
+```