ci: update to go 1.12

This commit is contained in:
nadoo committed 2019-03-01 00:59:55 +08:00
1 parent 47547bb08d
commit 9bcc18a29b
7 files changed
+23 -11

No files matched your search

+1
View File
@@ -242,6 +242,7 @@ func (s *HTTP) Dial(network, addr string) (net.Conn, error) {
var buf bytes.Buffer
buf.Write([]byte("CONNECT " + addr + " HTTP/1.1\r\n"))
// TODO: add host header for compatibility?
buf.Write([]byte("Proxy-Connection: Keep-Alive\r\n"))
if s.user != "" && s.password != "" {