elazarl / goproxy

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

examples/goproxy-websockets import ecordell/goproxy instead elazarl/goproxy #419

Open 4n70w4 opened 3 years ago

4n70w4 commented 3 years ago

Is this a mistake or is there some justification for this?

If use ecordell/goproxy got error:

panic: Error parsing builtin CA x509: RSA key missing NULL parameters

goroutine 1 [running]:
github.com/ecordell/goproxy.init.0()
    C:/portable/Go/bin/src/github.com/ecordell/goproxy/certs.go:10 +0x264

If use elazarl/goproxy got error:

2021/01/10 18:23:06 Starting echo server
2021/01/10 18:23:06 Starting proxy server
2021/01/10 18:23:06 dial:proxy: unknown scheme: wss