Skip to content

Commit

Permalink
IV-2077 Add readme note
Browse files Browse the repository at this point in the history
  • Loading branch information
psschroeter committed Jun 19, 2015
1 parent 0adec8a commit e73f537
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ lint:
#go tool vet -composites=false **/*.go

travis-test: lint
GOMAXPROCS=1 ginkgo -r -cover
ginkgo -r -cover

# running ginkgo twice, sadly, the problem is that -cover modifies the source code with the effect
# that if there are errors the output of gingko refers to incorrect line numbers
# tip: if you don't like colors use ginkgo -r -noColor
test: lint
ginkgo -r
ginkgo -r -v
ginkgo -r -cover
go tool cover -func=`basename $$PWD`.coverprofile
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ Or to allow access to www.example.com and blog.example.com over http you might u

Note the use of -server and -regexp, this is because the server named in -server is used when there is no X-Host header. The host in the -server option does not have to match the regexp but it is recommended for it match.

### Using a Proxy

WStunnel client may use a proxy as long as that proxy supports HTTPS CONNECT. Basic authentication may be used if the username and password are embedded in the url. For example, `-proxy http://myuser:[email protected]:3128`. In addition, the command line client will also respect the https_proxy/http_proxy environment variables if they're set. As websocket connections are very long lived, please set read timeouts on your proxy as high as possible.

### Using Secure Web Sockets (SSL)

WStunnel does not support SSL natively (although that would not be a big change). The recommended
Expand Down

0 comments on commit e73f537

Please sign in to comment.