fix error context

master
Dingjun 8 years ago
parent 414fcf3293
commit 33dfddc91e

@ -83,7 +83,7 @@ func httpProxyHandshake(c net.Conn, host string, port int) error {
}
if statusLine[0:4] != "HTTP" {
return err
return fmt.Errorf("not http reply")
}
status := strings.Fields(statusLine)[1]

Loading…
Cancel
Save