elazarl / goproxy

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

panic: runtime error: invalid memory address or nil pointer dereference #545

Closed bufsnake closed 3 months ago

bufsnake commented 3 months ago
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1439eae]

goroutine 905355 [running]:
github.com/elazarl/goproxy.(*ProxyHttpServer).handleHttps.func2()
        /root/.go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20240726154733-8b0c20506380/https.go:296 +0x7ce
created by github.com/elazarl/goproxy.(*ProxyHttpServer).handleHttps in goroutine 905105
        /root/.go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20240726154733-8b0c20506380/https.go:213 +0x5b6
image