]> Cypherpunks repositories - gostls13.git/commit
net: add (*UnixListener).SetUnlinkOnClose
authorRuss Cox <rsc@golang.org>
Thu, 27 Oct 2016 00:23:03 +0000 (20:23 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 28 Oct 2016 18:29:35 +0000 (18:29 +0000)
commiteb88b3eefa113f67e7cf72dfd085f65bbd125179
treea2ad61fea369f458aef4b39074e51757c652963b
parent13558c41ffa29d0af80e7e06d08af8eb0f0055fb
net: add (*UnixListener).SetUnlinkOnClose

Let users control whether unix listener socket file is unlinked on close.

Fixes #13877.

Change-Id: I9d1cb47e31418d655f164d15c67e188656a67d1c
Reviewed-on: https://go-review.googlesource.com/32099
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/unixsock_posix.go
src/net/unixsock_test.go