Closed korniltsev closed 1 month ago
fix https://github.com/grafana/pyroscope-go/issues/118
go 1.23 changed the way net/http/pprof registers pprof endpoints by prefixing with "GET "
net/http/pprof
"GET "
This leads to panics if godeltaprof does not do the same.
https://github.com/golang/go/blob/9fcffc53593c5cd103630d0d24ef8bd91e17246d/src/net/http/pprof/pprof.go#L98-L97
https://github.com/golang/go/commit/9fcffc53593c5cd103630d0d24ef8bd91e17246d
fix https://github.com/grafana/pyroscope-go/issues/118
go 1.23 changed the way
net/http/pprof
registers pprof endpoints by prefixing with"GET "
This leads to panics if godeltaprof does not do the same.
https://github.com/golang/go/blob/9fcffc53593c5cd103630d0d24ef8bd91e17246d/src/net/http/pprof/pprof.go#L98-L97
https://github.com/golang/go/commit/9fcffc53593c5cd103630d0d24ef8bd91e17246d