mirror of https://github.com/golang/go.git
doc/go1.22: document net/netip changes
For #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>
This commit is contained in:
parent
8d04110ce1
commit
97daa6e942
|
|
@ -749,7 +749,7 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
|
|||
|
||||
<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
|
||||
|
|
@ -757,19 +757,16 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
|
|||
and request URL to violate this requirement.
|
||||
</p>
|
||||
</dd>
|
||||
</dl><\!-- net/http/cgi -\->
|
||||
</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 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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue