Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/net
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.47.0
Choose a base ref
...
head repository: golang/net
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.48.0
Choose a head ref
  • 7 commits
  • 12 files changed
  • 4 contributors

Commits on Nov 22, 2025

  1. webdav: relax test to check for any redirect status, not just 301

    CL 720820 changed net/http to use a 307 Temporary Redirect instead of
    a 301 Moved Permanently when performing an automatic redirect under
    some circumstances. Update tests in the webdav package to be agnostic
    on the exact redirect status code.
    
    Change-Id: I71784a738d18928a98387ddbd5475d50b19d15bf
    Reviewed-on: https://go-review.googlesource.com/c/net/+/723120
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    Auto-Submit: Nicholas Husin <[email protected]>
    neild authored and gopherbot committed Nov 22, 2025
    Configuration menu
    Copy the full SHA
    346cc61 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2025

  1. http2: support net/http.Transport.NewClientConn

    Permit net/http to create new HTTP/2 client connections.
    
    We do this by adding a NewClientConn method to the type the HTTP/2 client
    registers with net/http.Transport.RegisterProtocol, which creates a
    persistent connection from a net.Conn.
    
    No tests in this CL. Tests will be in net/http, and will cover
    both the HTTP/1 and HTTP/2 paths for NewClientConn.
    
    For golang/go#75772
    
    Change-Id: Ib1a06b4d13fdd6008e5db9a090c6e9632029a2a4
    Reviewed-on: https://go-review.googlesource.com/c/net/+/722200
    Reviewed-by: Nicholas Husin <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    neild committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    123d099 View commit details
    Browse the repository at this point in the history
  2. dns/dnsmessage: avoid use of "strings" and "math" in dns/dnsmessage

    dns/dnsmessage is used by the net package, which does not have
    strings and math in its permitted dependencies.
    
    Change-Id: I2b59887c59891dc61e49dd6430f3a72486ddd66a
    Reviewed-on: https://go-review.googlesource.com/c/net/+/723902
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    neild committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    88a6421 View commit details
    Browse the repository at this point in the history
  3. http2: don't PING a responsive server when resetting a stream

    When sending a RST_STREAM for a canceled request, we sometimes send
    a PING frame along with the reset to confirm that the server is responsive
    and has received the reset.
    
    Sending too many PINGs trips denial-of-service detection on some servers,
    causing them to close a connection with an ENHANCE_YOUR_CALM error.
    
    Do not send a PING frame along with an RST_STREAM if the connection
    has displayed signs of life since the canceled request began.
    Specifically, if we've received any stream-related frames since the
    request was sent, assume the server is responsive and do not send a PING.
    
    We still send a PING if a request is canceled and no stream-related
    frames have been received from the server since the request was first
    sent.
    
    For golang/go#76296
    
    Change-Id: I1be3532febf9ac99d65e9cd35346c02306db5f9d
    Reviewed-on: https://go-review.googlesource.com/c/net/+/720300
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    neild committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    bff14c5 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2025

  1. trace: fix data race in RenderEvents

    This commit updates the RenderEvents function by moving the read
    lock for event families so that it happens before checking the
    length of event families and by that fixing a data race problem.
    
    Fixes golang/go#76402
    
    Change-Id: Id02ebaa25cec8ef631aaf928ba084b0692e84583
    Reviewed-on: https://go-review.googlesource.com/c/net/+/723160
    Auto-Submit: Sean Liao <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Damien Neil <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    marefr authored and gopherbot committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    ec11ecc View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2025

  1. http2, webdav, websocket: fix %q verb uses with wrong type

    Caught early by the improved vet check gated behind the 1.26 language
    version combined with a tiplang builder that tests with 1.26 language
    version.
    
    Fixes golang/go#76574.
    Fixes golang/go#76599.
    Fixes golang/go#76547.
    
    Change-Id: If8e2266013df0a39fc980a1e9287f8cb75949811
    Cq-Include-Trybots: luci.golang.try:x_net-gotip-linux-amd64-tiplang
    Reviewed-on: https://go-review.googlesource.com/c/net/+/725220
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Commit-Queue: Alan Donovan <[email protected]>
    Reviewed-by: Alan Donovan <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Alan Donovan <[email protected]>
    dmitshur authored and gopherbot committed Nov 28, 2025
    Configuration menu
    Copy the full SHA
    7c36036 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2025

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I9679bad7bfc127003a80fc41dab3cf34aaff78be
    Reviewed-on: https://go-review.googlesource.com/c/net/+/728182
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    gopherbot committed Dec 8, 2025
    Configuration menu
    Copy the full SHA
    35e1306 View commit details
    Browse the repository at this point in the history
Loading