obfs: added simple-obfs support. #79

This commit is contained in:
nadoo committed 2018-12-12 21:40:31 +08:00
1 parent da055c9078
commit 750862abdb
11 files changed
+497 -9

No files matched your search

+1
View File
@@ -258,6 +258,7 @@ func (s *HTTP) Dial(network, addr string) (net.Conn, error) {
_, code, _, ok := parseFirstLine(respTP)
if ok && code == "200" {
// TODO: check here
respTP.ReadMIMEHeader()
return rc, err
} else if code == "407" {