]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: document http.Transport.Dial* being used in js/wasm
authorNeil Alexander <neilalexander@users.noreply.github.com>
Tue, 9 Nov 2021 22:35:50 +0000 (22:35 +0000)
committerDmitri Shuralyov <dmitshur@golang.org>
Thu, 11 Nov 2021 16:17:21 +0000 (16:17 +0000)
This PR adds a note into the Go 1.18 changelog for CL 330852.

Updates #46923.

Change-Id: I99150e9275ce23fcf3697d6a22ac216818223c74
GitHub-Last-Rev: b2772ce68bcd02af672c663760b635eab292afb7
GitHub-Pull-Request: golang/go#49258
Reviewed-on: https://go-review.googlesource.com/c/go/+/360297
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.18.html

index bec9ada383937efe31e16a49763fac5cfb8133cf..45f89b7be57713558bef2f2fe9d91470e1b0f428 100644 (file)
@@ -276,6 +276,12 @@ Do not send CLs removing the interior tags from such phrases.
 
 <dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
   <dd>
+    <p><!-- CL 330852 -->
+      On WebAssembly targets, the <code>Dial</code>, <code>DialContext</code>,
+      <code>DialTLS</code> and <code>DialTLSContext</code> method fields in
+      <a href="/pkg/net/http/#Transport"><code>Transport</code></a>
+      will now be correctly used, if specified, for making HTTP requests.
+    </p>
     <p><!-- CL 338590 -->
       TODO: <a href="https://golang.org/cl/338590">https://golang.org/cl/338590</a>: add Cookie.Valid method
     </p>