elazarl / goproxy

An HTTP proxy library for Go
BSD 3-Clause "New" or "Revised" License
5.99k stars 1.09k forks source link

Unit tests fail in tip #265

Open nim-nim opened 6 years ago

nim-nim commented 6 years ago

(on a centos 7 host)

empijei commented 6 years ago

Still getting this with go version

--- FAIL: TestNoProxyHeaders (0.00s)
    proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]]
--- FAIL: TestNoProxyHeadersHttps (0.14s)
    proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]]
parse 127.0.0.1:37507: first path segment in URL cannot contain colon:-NewRequest
FAIL    github.com/elazarl/goproxy  1.597s

Can I be of any support to help debug this? What could be the cause?

empijei commented 6 years ago

Any news on this?