mirror of
https://github.com/nadoo/glider.git
synced 2026-11-23 23:49:41 +08:00
doc: update ssr info
This commit is contained in:
1 parent
47b91a1bfc
commit
7abd39eecf
3 files changed
+3
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user