From 8bcafa55547e7ad19fab7df5d09af66b4aee9b11 Mon Sep 17 00:00:00 2001 From: Leandro Moreira Date: Wed, 5 Nov 2014 19:04:24 -0200 Subject: [PATCH] Adds example to proxy all the responses. Adds example to proxy all the responses. --- docs/source/examples.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 422f272..056c926 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -10,6 +10,10 @@ Proxying on an HTTP backend and sending back 50x errors 20% of the time:: $ vaurien --protocol http --proxy 0.0.0.0:8888 --backend blog.ziade.org:80 \ --behavior 20:error +And you can also simulate 50x errors 20% of the time to all responses:: + + $ vaurien --protocol http --proxy 0.0.0.0:8888 --backend 0.0.0.0:80 \ + --behavior 20:error An SSL SMTP proxy with a 5% error rate and 10% delays::