aboutsummaryrefslogtreecommitdiff
path: root/reuseport
diff options
context:
space:
mode:
authorGravatar kayos <kayos@tcp.direct> 2022-06-28 07:54:03 +0000
committerGravatar GitHub <noreply@github.com> 2022-06-28 09:54:03 +0200
commit5b0cbf29b45676b36817679362133a6db1d958c2 (patch)
tree7854caeb502086c81d86a0a4b99fc2d19ca421fe /reuseport
parentSupport AIX SO_REUSEADDR and SO_REUSEPORT (#1328) (diff)
downloadfasthttp-5b0cbf29b45676b36817679362133a6db1d958c2.tar.gz
fasthttp-5b0cbf29b45676b36817679362133a6db1d958c2.tar.bz2
fasthttp-5b0cbf29b45676b36817679362133a6db1d958c2.zip
Fix apparent documentation typo (#1330)
Diffstat (limited to 'reuseport')
-rw-r--r--reuseport/reuseport_aix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reuseport/reuseport_aix.go b/reuseport/reuseport_aix.go
index bfac713..c04c951 100644
--- a/reuseport/reuseport_aix.go
+++ b/reuseport/reuseport_aix.go
@@ -19,7 +19,7 @@ var listenConfig = net.ListenConfig{
},
}
-// Listen returns TCP listener with SO_REUSEADDR and SO_REUSEPORT option set, so it uses
+// Listen returns a TCP listener with the SO_REUSEADDR and SO_REUSEPORT options set.
func Listen(network, addr string) (net.Listener, error) {
return listenConfig.Listen(context.Background(), network, addr)
}