Skip to content

Commit 0dd7e40

Browse files
danpbradfitz
authored andcommitted
doc: note net/UnixListener.SetUnlinkOnClose in go1.8.html
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>
1 parent 6eb11b2 commit 0dd7e40

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/go1.8.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
967967
they implement the documented semantics. TODO: https://golang.org/cl/18097
968968
</p>
969969

970+
<p><!-- CL 32099 -->
971+
The new method
972+
<a href="/pkg/net/#UnixListener.SetUnlinkOnClose"><code>UnixListener.SetUnlinkOnClose</code></a>
973+
sets whether the underlying socket file should be removed from the file system when
974+
the listener is closed.
975+
</p>
976+
970977
<p>TODO: many other net changes</p>
971978

972979
</dd>

doc/go1.8.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ net/http/httputil: make ReverseProxy send nil Body requests when possible (CL 28
116116
net/http/httputil: remove custom hop-by-hop headers from response in ReverseProxy (CL 28810)
117117
net/http/httputil: remove proxied headers mentioned in connection-tokens (CL 27970)
118118

119-
net: add (*UnixListener).SetUnlinkOnClose (CL 32099)
120119
net: add Buffers type, do writev on unix (CL 29951)
121120
net: implement Buffers on windows (CL 32371)
122121
net: add Resolver type, Dialer.Resolver, and DefaultResolver (CL 29440)
@@ -452,6 +451,7 @@ net/url: handle escaped paths in ResolveReference (CL 28343)
452451
net/url: make URL implement encoding.BinaryMarshaler, BinaryUnmarshaler (CL 31467)
453452
net/url: prefix relative paths containing ":" in the first segment with "./" (CL 29610)
454453
net/url: reject colon in first segment of relative path in Parse (CL 31582)
454+
net: add (*UnixListener).SetUnlinkOnClose (CL 32099)
455455
net: always wake up the readers on close on Plan 9 (CL 31390)
456456
net: close the connection gracefully on Plan 9 (CL 31271)
457457
net: implement network interface API for Plan 9 (CL 29963)

0 commit comments

Comments
 (0)