Update README.rst

This commit is contained in:
Tatsuhiro Tsujikawa 2012-11-18 21:57:04 +09:00
parent 026f4ca3a2
commit b2d530783e
1 changed files with 14 additions and 0 deletions

View File

@ -247,6 +247,9 @@ Here is the command-line options::
[-c <NUM>] [-L <LEVEL>] [OPTIONS...]
<PRIVATE_KEY> <CERT>
shrpx --client-mode [-Dh] [-b <HOST,PORT>] [-f <HOST,PORT>]
[-n <CORES>] [-c <NUM>] [-L <LEVEL>] [OPTIONS...]
A reverse proxy for SPDY/HTTPS.
@ -311,6 +314,10 @@ Here is the command-line options::
Default: 256
--ciphers=<SUITE> 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
--------