]> Cypherpunks repositories - gostls13.git/commit
net/http/pprof: Use relative links to profiles in index html
authorMatt Joiner <anacrolix@gmail.com>
Wed, 11 Mar 2015 06:52:57 +0000 (17:52 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 12 Mar 2015 01:13:26 +0000 (01:13 +0000)
commit4f489f59c28aa9d8e6114132869e49b0734bc6ec
tree4e780d0a0245860d9efd0ce5e37c4d8e35b3b1c4
parentde573f87484df3278d9b7412da1964313aaeb90a
net/http/pprof: Use relative links to profiles in index html

This allows /debug/pprof/ and descendents to be used through
http.StripPrefix and other path rewriting handlers.

Change-Id: I53673876c107bbfaf430123ead78e6524b42ac21
Reviewed-on: https://go-review.googlesource.com/7351
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/net/http/pprof/pprof.go