mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
obfs: added simple-obfs support. #79
This commit is contained in:
1 parent
da055c9078
commit
750862abdb
11 files changed
+497
-9
No files matched your search
@@ -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" {
|
||||
|
||||
Reference in new issue
Block a user