From a25cc5cfe39c6a343aa90b02e4d3e85ae5d8b468 Mon Sep 17 00:00:00 2001 From: nadoo <287492+nadoo@users.noreply.github.com> Date: Sun, 20 May 2018 16:59:48 +0800 Subject: [PATCH] doc: update ssr info --- README.md | 1 + conf.go | 1 + http.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d819ec..b4e4574 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ Available Schemas: ss: ss proxy socks5: socks5 proxy http: http proxy + ssr: ssr proxy redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules) tcptun: tcp tunnel udptun: udp tunnel diff --git a/conf.go b/conf.go index 094c125..7e55cb2 100644 --- a/conf.go +++ b/conf.go @@ -139,6 +139,7 @@ func usage() { fmt.Fprintf(os.Stderr, " ss: ss proxy\n") fmt.Fprintf(os.Stderr, " socks5: socks5 proxy\n") fmt.Fprintf(os.Stderr, " http: http proxy\n") + fmt.Fprintf(os.Stderr, " ssr: ssr proxy\n") fmt.Fprintf(os.Stderr, " redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules)\n") fmt.Fprintf(os.Stderr, " tcptun: tcp tunnel\n") fmt.Fprintf(os.Stderr, " udptun: udp tunnel\n") diff --git a/http.go b/http.go index b2b49fd..aebc5df 100644 --- a/http.go +++ b/http.go @@ -261,7 +261,7 @@ func parseFirstLine(tp *textproto.Reader) (r1, r2, r3 string, ok bool) { line, err := tp.ReadLine() // logf("first line: %s", line) if err != nil { - logf("proxy-http read request line error:%s", err) + logf("proxy-http read first line error:%s", err) return }