aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/docs_pathod.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-24 23:57:18 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-24 23:57:18 +1200
commit64ef0a4561058de4ca7309767e89366bc1c7502f (patch)
tree435cae8ea1103ad6e81933516a6498607ef97999 /libpathod/templates/docs_pathod.html
parentcb09488dc8e4b03706a9cc1fa71284a2f7ce33c1 (diff)
downloadmitmproxy-64ef0a4561058de4ca7309767e89366bc1c7502f.tar.gz
mitmproxy-64ef0a4561058de4ca7309767e89366bc1c7502f.tar.bz2
mitmproxy-64ef0a4561058de4ca7309767e89366bc1c7502f.zip
Swap the offset, seconds arguments for the pause operator.
This makes it uniform with the other operators.s
Diffstat (limited to 'libpathod/templates/docs_pathod.html')
-rw-r--r--libpathod/templates/docs_pathod.html8
1 files changed, 4 insertions, 4 deletions
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:</p>
for 120 seconds after sending 50 bytes (counted from the first byte of the HTTP
response):</p>
- <pre class="example">200:b@1m:p120,50</pre>
+ <pre class="example">200:b@1m:p50,120</pre>
<p>If that's not long enough, we can tell pathod to hang forever:</p>
- <pre class="example">200:b@1m:p120,f</pre>
+ <pre class="example">200:b@1m:pf,120</pre>
<p>Or to send all data, and then hang without disconnecting:</p>
- <pre class="example">200:b@1m:p120,a</pre>
+ <pre class="example">200:b@1m:pa,120</pre>
<p>We can also ask pathod to hang randomly:</p>
- <pre class="example">200:b@1m:pr,a</pre>
+ <pre class="example">200:b@1m:pr,10</pre>
<p>There is a similar mechanism for dropping connections mid-response. So, we can
tell pathod to disconnect after sending 50 bytes:</p>