aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/net/http/pprof/pprof.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/http/pprof/pprof.go')
-rw-r--r--libgo/go/net/http/pprof/pprof.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/net/http/pprof/pprof.go b/libgo/go/net/http/pprof/pprof.go
index 5389a38..888ea35 100644
--- a/libgo/go/net/http/pprof/pprof.go
+++ b/libgo/go/net/http/pprof/pprof.go
@@ -287,7 +287,7 @@ func (name handler) serveDeltaProfile(w http.ResponseWriter, r *http.Request, p
err := r.Context().Err()
if err == context.DeadlineExceeded {
serveError(w, http.StatusRequestTimeout, err.Error())
- } else { // TODO: what's a good status code for cancelled requests? 400?
+ } else { // TODO: what's a good status code for canceled requests? 400?
serveError(w, http.StatusInternalServerError, err.Error())
}
return
@@ -431,7 +431,7 @@ Types of profiles available:
b.WriteString(`</table>
<a href="goroutine?debug=2">full goroutine stack dump</a>
-<br/>
+<br>
<p>
Profile Descriptions:
<ul>