diff options
Diffstat (limited to 'src/vendor')
| -rw-r--r-- | src/vendor/golang.org/x/net/internal/http3/roundtrip.go | 14 | ||||
| -rw-r--r-- | src/vendor/golang.org/x/sys/cpu/cpu_darwin_arm64_other.go | 2 | ||||
| -rw-r--r-- | src/vendor/modules.txt | 8 |
3 files changed, 13 insertions, 11 deletions
diff --git a/src/vendor/golang.org/x/net/internal/http3/roundtrip.go b/src/vendor/golang.org/x/net/internal/http3/roundtrip.go index 2ea584b773..29e7016504 100644 --- a/src/vendor/golang.org/x/net/internal/http3/roundtrip.go +++ b/src/vendor/golang.org/x/net/internal/http3/roundtrip.go @@ -94,9 +94,13 @@ func (cc *clientConn) RoundTrip(req *http.Request) (_ *http.Response, err error) return nil, err } rt := &roundTripState{ - cc: cc, - st: st, - trace: httptrace.ContextClientTrace(req.Context()), + cc: cc, + st: st, + trace: httptrace.ContextClientTrace(req.Context()), + reqBody: req.Body, + } + if rt.reqBody == nil { + rt.reqBody = http.NoBody } defer func() { if err != nil { @@ -244,16 +248,12 @@ func (cc *clientConn) writeBodyAndTrailer(rt *roundTripState, req *http.Request) declaredTrailer := req.Trailer.Clone() - rt.reqBody = req.Body rt.reqBodyWriter.st = rt.st rt.reqBodyWriter.remain = actualContentLength(req) rt.reqBodyWriter.flush = true rt.reqBodyWriter.name = "request" rt.reqBodyWriter.trailer = req.Trailer rt.reqBodyWriter.enc = &cc.enc - if req.Body == nil { - rt.reqBody = http.NoBody - } if _, err := io.Copy(&rt.reqBodyWriter, rt.reqBody); err != nil { rt.abort(err) diff --git a/src/vendor/golang.org/x/sys/cpu/cpu_darwin_arm64_other.go b/src/vendor/golang.org/x/sys/cpu/cpu_darwin_arm64_other.go index 4ee68e38d9..37ecc66440 100644 --- a/src/vendor/golang.org/x/sys/cpu/cpu_darwin_arm64_other.go +++ b/src/vendor/golang.org/x/sys/cpu/cpu_darwin_arm64_other.go @@ -6,6 +6,8 @@ package cpu +import "runtime" + func doinit() { setMinimalFeatures() diff --git a/src/vendor/modules.txt b/src/vendor/modules.txt index c7220124e2..afa1c640fa 100644 --- a/src/vendor/modules.txt +++ b/src/vendor/modules.txt @@ -1,4 +1,4 @@ -# golang.org/x/crypto v0.49.0 +# golang.org/x/crypto v0.50.0 ## explicit; go 1.25.0 golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20poly1305 @@ -7,7 +7,7 @@ golang.org/x/crypto/cryptobyte/asn1 golang.org/x/crypto/hkdf golang.org/x/crypto/internal/alias golang.org/x/crypto/internal/poly1305 -# golang.org/x/net v0.52.1-0.20260406204716-056ac742146a +# golang.org/x/net v0.53.1-0.20260410192740-cd64923cd7f4 ## explicit; go 1.25.0 golang.org/x/net/dns/dnsmessage golang.org/x/net/http/httpguts @@ -21,10 +21,10 @@ golang.org/x/net/internal/quic/quicwire golang.org/x/net/lif golang.org/x/net/nettest golang.org/x/net/quic -# golang.org/x/sys v0.42.1-0.20260320201212-a76ec62d6c53 +# golang.org/x/sys v0.43.0 ## explicit; go 1.25.0 golang.org/x/sys/cpu -# golang.org/x/text v0.35.0 +# golang.org/x/text v0.36.0 ## explicit; go 1.25.0 golang.org/x/text/secure/bidirule golang.org/x/text/transform |
