]> Cypherpunks repositories - gostls13.git/commitdiff
doc: note net/UnixListener.SetUnlinkOnClose in go1.8.html
authorDan Peterson <dpiddy@gmail.com>
Tue, 29 Nov 2016 23:46:34 +0000 (16:46 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 30 Nov 2016 00:08:49 +0000 (00:08 +0000)
TBR=See https://golang.org/cl/33244

Updates #17929

Change-Id: I201ffe489842ff17277424be4a012558d161f0a7
Reviewed-on: https://go-review.googlesource.com/33672
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.8.html
doc/go1.8.txt

index 480042630c4f8e7a09dcfa1d6d5f7c9ef9813221..14355429233d0c3d7c026c0ebe7ba0c7c6a941b7 100644 (file)
@@ -967,6 +967,13 @@ pkg debug/pe, type StringTable []uint8</pre>
       they implement the documented semantics. TODO: https://golang.org/cl/18097
     </p>
 
+    <p><!-- CL 32099 -->
+      The new method
+      <a href="/pkg/net/#UnixListener.SetUnlinkOnClose"><code>UnixListener.SetUnlinkOnClose</code></a>
+      sets whether the underlying socket file should be removed from the file system when
+      the listener is closed.
+    </p>
+
     <p>TODO: many other net changes</p>
 
   </dd>
index 95cc5b60dc4c0c7e8881880adce52589e0fb4334..1f820ec56d62529c24d805803a46f9224f3215c4 100644 (file)
@@ -116,7 +116,6 @@ net/http/httputil: make ReverseProxy send nil Body requests when possible (CL 28
 net/http/httputil: remove custom hop-by-hop headers from response in ReverseProxy (CL 28810)
 net/http/httputil: remove proxied headers mentioned in connection-tokens (CL 27970)
 
-net: add (*UnixListener).SetUnlinkOnClose (CL 32099)
 net: add Buffers type, do writev on unix (CL 29951)
    net: implement Buffers on windows (CL 32371)
 net: add Resolver type, Dialer.Resolver, and DefaultResolver (CL 29440)
@@ -452,6 +451,7 @@ net/url: handle escaped paths in ResolveReference (CL 28343)
 net/url: make URL implement encoding.BinaryMarshaler, BinaryUnmarshaler (CL 31467)
 net/url: prefix relative paths containing ":" in the first segment with "./" (CL 29610)
 net/url: reject colon in first segment of relative path in Parse (CL 31582)
+net: add (*UnixListener).SetUnlinkOnClose (CL 32099)
 net: always wake up the readers on close on Plan 9 (CL 31390)
 net: close the connection gracefully on Plan 9 (CL 31271)
 net: implement network interface API for Plan 9 (CL 29963)