Commit Graph

31 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa a69b61c40c shrpx: add --ciphers option to specify allowed cipher list 2012-08-20 21:50:03 +09:00
Tatsuhiro Tsujikawa fce4be9555 shrpx: Change default values of -f and -b option
-f now defaults to 0.0.0.0,3000. -b now defaults to 127.0.0.1,80.
2012-08-03 22:20:59 +09:00
Tatsuhiro Tsujikawa fd9f5991f5 shrpx: Fill initial values for flags 2012-08-02 01:32:33 +09:00
Tatsuhiro Tsujikawa 4623413a99 shrpx: Added --backlog option 2012-08-02 01:28:59 +09:00
Tatsuhiro Tsujikawa 0c10528ca3 shrpx: Add syslog support 2012-08-02 01:20:18 +09:00
Tatsuhiro Tsujikawa 7962c1bf6c shrpx: drop root priviledgs after loading private key 2012-08-02 00:29:37 +09:00
Tatsuhiro Tsujikawa 75c9840644 shrpx:: Use LOG() instead of std::cerr 2012-08-02 00:26:24 +09:00
Tatsuhiro Tsujikawa 1dd61d5973 shrpx: Support configuration file
By default, configuration file is /etc/shrpx/shrpx.conf.  It can be
overridden using --conf option. See shrpx.conf.sample to know how to
write shrpx.conf. The configurations given in shrpx.conf will be
overridden by the options specified in cmmand-line.
2012-08-02 00:06:41 +09:00
Tatsuhiro Tsujikawa f3587e1591 shrpx: Added --pid-file and --user option
--pid-file option saves PID to the specified file.  user option is
--used to drop root privileges.
2012-08-01 01:55:31 +09:00
Tatsuhiro Tsujikawa 51c4f4f5b0 shrpx: Added --frontend-spdy-window-bits option 2012-07-26 23:18:37 +09:00
Tatsuhiro Tsujikawa f89112b5e9 shrpx: Added --backend-keep-alive-timeout option 2012-07-26 23:08:51 +09:00
Tatsuhiro Tsujikawa 4bc200f9dc Added simple accesslog 2012-07-18 01:08:05 +09:00
Tatsuhiro Tsujikawa c7fe718dcf Added read/write timeout options for both upstream and downstream 2012-07-18 00:13:11 +09:00
Tatsuhiro Tsujikawa f56cfc920e shrpx: fixed read/write timeouts of upstream are interchanged. 2012-07-16 23:48:02 +09:00
Tatsuhiro Tsujikawa 6fb76831c0 shrpx: Increased default downstream timeout to 60s 2012-07-16 23:43:43 +09:00
Tatsuhiro Tsujikawa e5249538a6 Added --add-x-forwarded-for option.
This option append X-Forwarded-For header field to the downstream
request.
2012-07-12 23:39:11 +09:00
Tatsuhiro Tsujikawa 63adaad93a Updated usage 2012-07-11 22:13:36 +09:00
Tatsuhiro Tsujikawa 2c5f40b175 Added SPDY proxy mode.
To enable SPDY proxy, use --spdy-proxy option.  At time of this
writing, the only browser which supports SSL/SPDY proxy is Chrome.

Removed Location and Host header field rewrite.
2012-07-11 16:20:16 +09:00
Tatsuhiro Tsujikawa 9d84db230d Enclose downstream IPv6 numeric address in hostport with square blackets 2012-06-14 23:01:47 +09:00
Tatsuhiro Tsujikawa eb9458bba9 Adjust read/write timeout depending on the request/response state 2012-06-12 23:02:01 +09:00
Tatsuhiro Tsujikawa f2a6b3c9d6 Set OpenSSL locking_function. 2012-06-08 22:41:24 +09:00
Tatsuhiro Tsujikawa c240368ee5 Change severity level of getaddrinfo failure to INFO 2012-06-07 02:16:30 +09:00
Tatsuhiro Tsujikawa 5f5fb18b77 Option value fixes.
Set -n default value to 1. Show missing default values.  Use -c value
in SPDY session.
2012-06-07 02:09:59 +09:00
Tatsuhiro Tsujikawa 908ec2e695 Made -D option work. Get private key and certificate file from cmd-line 2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa 8e0a1c91a3 Added command-line options 2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa 8da4938031 Listen both on IPv6 and IPv4 if possible 2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa 28ed887463 Don't sleep. Just log the error 2012-06-06 21:44:08 +09:00
Tatsuhiro Tsujikawa 71a3a70c02 Handle error when fd runs out
The default log level is now WARNING.
2012-06-06 02:23:07 +09:00
Tatsuhiro Tsujikawa 8f1c49e75c Added multi thread support 2012-06-06 01:26:04 +09:00
Tatsuhiro Tsujikawa c04c09ff3e Avoid too large buffering in upstream output. 2012-06-05 03:11:43 +09:00
Tatsuhiro Tsujikawa fad7f51f8d Initial commit of shrpx: SPDY/HTTPS to HTTP reverse proxy
Put libhtparse in examples/htparse
2012-06-04 23:48:31 +09:00