aboutsummaryrefslogtreecommitdiffhomepage
path: root/listen.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2023-03-02 21:00:18 -0700
committerGitHub <[email protected]>2023-03-03 04:00:18 +0000
commit99d47050e97a8ccac2aad3bda46be46d4fec85ed (patch)
tree0cba5f2c4cf9191e5dfa72b1f063b93d2a92c784 /listen.go
parent85375861f6a903da9af8aa665552a6546d075c9f (diff)
downloadcaddy-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.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/listen.go b/listen.go
index 1ca168744..e0d67c6ab 100644
--- a/listen.go
+++ b/listen.go
@@ -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