- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for configureWriteDeadline (0.29 sec)
-
src/net/http/pprof/pprof.go
fmt.Fprint(w, strings.Join(os.Args, "\x00")) } func sleep(r *http.Request, d time.Duration) { select { case <-time.After(d): case <-r.Context().Done(): } } func configureWriteDeadline(w http.ResponseWriter, r *http.Request, seconds float64) { srv, ok := r.Context().Value(http.ServerContextKey).(*http.Server) if ok && srv.WriteTimeout > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:34:05 UTC 2024 - 14.1K bytes - Viewed (0)