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.5.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.7.0
Choose a head ref
  • 8 commits
  • 23 files changed
  • 7 contributors

Commits on Jan 5, 2023

  1. nettest: fix tests on dragonfly and js/wasm

    CL 458096 changes probeStack to use a better approach for checking
    network stack capability, by checking for routable ipv4/ipv6. However,
    the NewLocalListener needs check for listenable instead.
    
    This CL adds to probestack the listenable on loopback and use that
    condition instead.
    
    Fixes golang/go#57623
    
    Change-Id: I8b5b7798ccf3826881e5ef9f7d2d998d8e52eba5
    Reviewed-on: https://go-review.googlesource.com/c/net/+/460735
    Run-TryBot: Cuong Manh Le <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Cuong Manh Le <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    cuonglm authored and gopherbot committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    f8411da View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. http2: case insensitive handling for 100-continue

    rfc 9110, section 10.1.1 states that the Expect field value is
    case-insensitive.
    
    Fixes golang/go#57824
    
    Change-Id: Ie0e2662c58a2933087e0d35935c04ec61026a41d
    Reviewed-on: https://go-review.googlesource.com/c/net/+/463096
    Auto-Submit: Damien Neil <[email protected]>
    Run-TryBot: Damien Neil <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    fraenkel authored and gopherbot committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    296f09a View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. all: correct typos in comments

    Change-Id: Idc75240e5546be2f2b091878910339b4967c93c7
    GitHub-Last-Rev: c78560c
    GitHub-Pull-Request: #166
    Reviewed-on: https://go-review.googlesource.com/c/net/+/465715
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    alexandear authored and gopherbot committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    7e3c19c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. all: fix some comments

    Change-Id: Iee11c27052222f017b672c06ced9e129ee51619c
    Reviewed-on: https://go-review.googlesource.com/c/net/+/465996
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Run-TryBot: Ian Lance Taylor <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    cuishuang authored and gopherbot committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    415cb6d View commit details
    Browse the repository at this point in the history
  2. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: Ia50695ab9c32268c5dfa5096e448c6d7cca851bd
    Reviewed-on: https://go-review.googlesource.com/c/net/+/466595
    Reviewed-by: Heschi Kreinick <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Run-TryBot: Gopher Robot <[email protected]>
    gopherbot committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    87ce33e View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. html: parse comments per HTML spec

    Updates golang/go#58246
    
    Change-Id: Iaba5ed65f5d244fd47372ef0c08fc4cdb5ed90f9
    Reviewed-on: https://go-review.googlesource.com/c/net/+/466776
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Nigel Tao <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    Run-TryBot: Nigel Tao <[email protected]>
    Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <[email protected]>
    nigeltao authored and gopherbot committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    39940ad View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. http2: avoid referencing ResponseWrite.Write parameter after returning

    When writing data frames, encode the frame on the serve goroutine
    rather than in writeFrameAsync to avoid referencing stream data
    (originating from a ResponseWriter.Write call) after the Write
    has returned.
    
    Fixes golang/go#58446
    
    Change-Id: I866a7351c90ef122e506b333151f98a455a64953
    Reviewed-on: https://go-review.googlesource.com/c/net/+/467355
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Damien Neil <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    neild committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    547e7ed View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. http2/hpack: avoid quadratic complexity in hpack decoding

    When parsing a field literal containing two Huffman-encoded strings,
    don't decode the first string until verifying all data is present.
    Avoids forced quadratic complexity when repeatedly parsing a partial
    field, repeating the Huffman decoding of the string on each iteration.
    
    Thanks to Philippe Antoine (Catena cyber) for reporting this issue.
    
    Fixes golang/go#57855
    Fixes CVE-2022-41723
    
    Change-Id: I58a743df450a4a4923dddd5cf6bb0592b0a7bdf3
    Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1688184
    TryBot-Result: Security TryBots <[email protected]>
    Reviewed-by: Julie Qiu <[email protected]>
    Run-TryBot: Damien Neil <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-on: https://go-review.googlesource.com/c/net/+/468135
    Run-TryBot: Michael Pratt <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    Auto-Submit: Michael Pratt <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    neild authored and prattmic committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    8e2b117 View commit details
    Browse the repository at this point in the history
Loading