Skip to content

Commit

Permalink
doc/go1.22: document net/netip changes
Browse files Browse the repository at this point in the history
For golang#61422

Change-Id: Ide818366b035eada4ba04b70b4741fb1891585d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/556396
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
  • Loading branch information
neild authored and ezz-no committed Feb 17, 2024
1 parent 0a2679c commit 09ad867
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -749,27 +749,24 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>

<dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt>
<dd>
<p><\!-- CL 539615 -\->
<p><!-- CL 539615 -->
When executing a CGI process, the <code>PATH_INFO</code> variable is now
always set to the empty string or a value starting with a <code>/</code> character,
as required by RFC 3875. It was previously possible for some combinations of
<a href="/pkg/net/http/cgi#Handler.Root"><code>Handler.Root</code></a>
and request URL to violate this requirement.
</p>
</dd>
</dl><\!-- net/http/cgi -\->

<!-- <dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt> -->
<!-- <dd> -->
<!-- <p><\!-- https://go.dev/issue/61642 -\-> -->
<!-- TODO: <a href="https://go.dev/issue/61642">https://go.dev/issue/61642</a>: add Prefix.Compare and AddrPort.Compare -->
<!-- </p> -->

<!-- <p><\!-- CL 524616 -\-> -->
<!-- TODO: <a href="https://go.dev/cl/524616">https://go.dev/cl/524616</a>: net/netip: add AddrPort.Compare and Prefix.Compare; modified api/next/61642.txt -->
<!-- </p> -->
<!-- </dd> -->
<!-- </dl><\!-- net/netip -\-> -->
</dl><!-- net/http/cgi -->

<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
<dd>
<p><!-- https://go.dev/issue/61642 -->
The new <a href="/pkg/net/netip#AddrPort.Compare"><code>AddrPort</code></a>
function compares two <code>AddrPort</code>s.
</p>
</dd>
</dl><!-- net/netip -->

<dl id="os"><dt><a href="/pkg/os/">os</a></dt>
<dd>
Expand Down

0 comments on commit 09ad867

Please sign in to comment.