From b2d530783efc2b1dabdc860e6ce36c0ffb287a9b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 18 Nov 2012 21:57:04 +0900 Subject: [PATCH] Update README.rst --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 650220b1..3506060b 100644 --- a/README.rst +++ b/README.rst @@ -247,6 +247,9 @@ Here is the command-line options:: [-c ] [-L ] [OPTIONS...] + shrpx --client-mode [-Dh] [-b ] [-f ] + [-n ] [-c ] [-L ] [OPTIONS...] + A reverse proxy for SPDY/HTTPS. @@ -311,6 +314,10 @@ Here is the command-line options:: Default: 256 --ciphers= Set allowed cipher list. The format of the string is described in OpenSSL ciphers(1). + --client-mode Instead of accepting SPDY/HTTPS connection, + accept HTTP connection and communicate with + backend server in SPDY. This is for testing + purpose. -h, --help Print this help. @@ -343,6 +350,13 @@ Then run chrome with the following arguments:: $ google-chrome --proxy-pac-url=file:///path/to/proxy.pac --use-npn +There is an interesting option ``--client-mode``. If it is given, +``shrpx`` accepts HTTP connections and communicates with the backend +in SPDY:: + + Client <-- (HTTP) --> Shrpx <-- (SPDY) --> Web Server or another Shrpx + +It is for testing purpose only. Examples --------