diff --git a/transport.go b/transport.go index e79c005..620e292 100644 --- a/transport.go +++ b/transport.go @@ -1829,7 +1829,7 @@ func (t *Transport) dialConnFor(w *wantConn) { return } - pc, err := t.dialConn(w.ctx, w.cm) + pc, err := t.dialConn(ctx, w.cm) delivered := w.tryDeliver(pc, err) if err == nil && (!delivered || pc.alt != nil) { // pconn was not passed to w,