From 64ef0a4561058de4ca7309767e89366bc1c7502f Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 24 Jul 2012 23:57:18 +1200 Subject: Swap the offset, seconds arguments for the pause operator. This makes it uniform with the other operators.s --- libpathod/templates/docs_pathod.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpathod/templates/docs_pathod.html') diff --git a/libpathod/templates/docs_pathod.html b/libpathod/templates/docs_pathod.html index 977642c6..1c8f01c7 100644 --- a/libpathod/templates/docs_pathod.html +++ b/libpathod/templates/docs_pathod.html @@ -92,19 +92,19 @@ various other goodies. Try it by visiting the server root:

for 120 seconds after sending 50 bytes (counted from the first byte of the HTTP response):

-
200:b@1m:p120,50
+
200:b@1m:p50,120

If that's not long enough, we can tell pathod to hang forever:

-
200:b@1m:p120,f
+
200:b@1m:pf,120

Or to send all data, and then hang without disconnecting:

-
200:b@1m:p120,a
+
200:b@1m:pa,120

We can also ask pathod to hang randomly:

-
200:b@1m:pr,a
+
200:b@1m:pr,10

There is a similar mechanism for dropping connections mid-response. So, we can tell pathod to disconnect after sending 50 bytes:

-- cgit v1.2.3