diff options
author | Matt Holt <[email protected]> | 2023-03-02 21:00:18 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-03 04:00:18 +0000 |
commit | 99d47050e97a8ccac2aad3bda46be46d4fec85ed (patch) | |
tree | 0cba5f2c4cf9191e5dfa72b1f063b93d2a92c784 /listen.go | |
parent | 85375861f6a903da9af8aa665552a6546d075c9f (diff) | |
download | caddy-99d47050e97a8ccac2aad3bda46be46d4fec85ed.tar.gz caddy-99d47050e97a8ccac2aad3bda46be46d4fec85ed.zip |
core: Eliminate unnecessary shutdown delay on Unix (#5413)
* core: Eliminate unnecessary shutdown delay on Unix
Fix #5393, alternate to #5405
* Comments, cleanup, adjust logs
* Fix build constraint
Diffstat (limited to 'listen.go')
-rw-r--r-- | listen.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -12,10 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// TODO: Go 1.19 introduced the "unix" build tag. We have to support Go 1.18 until Go 1.20 is released. -// When Go 1.19 is our minimum, change this build tag to simply "!unix". -// (see similar change needed in listen_unix.go) -//go:build !(aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris) +//go:build !unix package caddy |