libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit cb11cac74d2a5dca1039dd2ab70d42e8fe1d501b
parent c81afd7682d237044b5869791c72824877546d60
Author: Andrey Uzunov <andrey.uzunov@gmail.com>
Date:   Sat, 28 Dec 2013 20:45:25 +0000

mhd2spdy: usage info

Diffstat:
Msrc/examples/mhd2spdy.c | 19+++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/examples/mhd2spdy.c b/src/examples/mhd2spdy.c @@ -230,8 +230,23 @@ void display_usage() { printf( - "Usage: mhd2spdy [-vos] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n" - "TODO\n" + "Usage: mhd2spdy [-ovs] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n\n" + "OPTIONS:\n" + " -p, --port Listening port.\n" + " -b, --backend-proxy If set, he proxy will send requests to\n" + " that SPDY server or proxy. Set the address\n" + " in the form 'http://host:port'. Use 'https'\n" + " for SPDY over TLS, or 'http' for plain SPDY\n" + " communication with the backend.\n" + " -o, --only-proxy If set, the proxy will always forward the\n" + " requests to the backend proxy. If not set,\n" + " the proxy will first try to establsh SPDY\n" + " connection to the requested server. If the\n" + " server does not support SPDY and TLS, the\n" + " backend proxy will be used for the request.\n" + " -v, --verbose Print debug information.\n" + " -s, --statistics Print simple statistics on exit.\n\n" + ); }