net/http.Request.Context (method)

38 uses

	net/http (current package)
		client.go#L356: 	oldCtx := req.Context()
		h2_bundle.go#L794: 		cc, err := p.t.dialClientConn(req.Context(), addr, singleUse)
		h2_bundle.go#L820: 		call := p.getStartDialLocked(req.Context(), addr)
		h2_bundle.go#L1022: 	if call.ctx == req.Context() {
		h2_bundle.go#L8080: 				case <-req.Context().Done():
		h2_bundle.go#L8082: 					err = req.Context().Err()
		h2_bundle.go#L8771: 	ctx := req.Context()
		h2_bundle.go#L9674: 	trace := httptrace.ContextClientTrace(req.Context())
		h2_bundle.go#L10895: 	trace := httptrace.ContextClientTrace(req.Context())
		h2_bundle.go#L10903: 	trace := httptrace.ContextClientTrace(req.Context())
		request.go#L352: func (r *Request) Context() context.Context {
		request.go#L583: 	trace := httptrace.ContextClientTrace(r.Context())
		server.go#L3648: 	s, _ := r.Context().Value(ServerContextKey).(*Server)
		server.go#L3810: 		ctx, cancelCtx = context.WithTimeout(r.Context(), h.dt)
		transport.go#L584: 	ctx := req.Context()
		transport.go#L646: 	ctx, cancel := context.WithCancelCause(req.Context())
		transport.go#L1487: 	ctx := req.Context()
		transport.go#L2883: 	if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {

	net/http/httputil
		reverseproxy.go#L338: 	ctx := req.Context()
		reverseproxy.go#L479: 	outreq = outreq.WithContext(httptrace.WithClientTrace(outreq.Context(), trace))
		reverseproxy.go#L566: 	if req.Context().Value(http.ServerContextKey) != nil {
		reverseproxy.go#L767: 		case <-req.Context().Done():

	net/http/pprof
		pprof.go#L119: 	case <-r.Context().Done():
		pprof.go#L124: 	srv, ok := r.Context().Value(http.ServerContextKey).(*http.Server)
		pprof.go#L304: 	case <-r.Context().Done():
		pprof.go#L305: 		err := r.Context().Err()

	golang.org/x/net/http2
		client_conn_pool.go#L69: 		cc, err := p.t.dialClientConn(req.Context(), addr, singleUse)
		client_conn_pool.go#L95: 		call := p.getStartDialLocked(req.Context(), addr)
		client_conn_pool.go#L297: 	if call.ctx == req.Context() {
		transport.go#L658: 				case <-req.Context().Done():
		transport.go#L660: 					err = req.Context().Err()
		transport.go#L1319: 	ctx := req.Context()
		transport.go#L1629: 	return httpcommon.EncodeHeaders(req.Context(), httpcommon.EncodeHeadersParam{
		transport.go#L3214: 	trace := httptrace.ContextClientTrace(req.Context())
		transport.go#L3222: 	trace := httptrace.ContextClientTrace(req.Context())

	google.golang.org/grpc
		server.go#L1117: 	s.serveStreams(r.Context(), st, nil)

	google.golang.org/grpc/internal/transport
		handler_server.go#L80: 	if la := r.Context().Value(http.LocalAddrContextKey); la != nil {
		handler_server.go#L403: 		case <-ht.req.Context().Done():