diff options
author | kayos <kayos@tcp.direct> | 2022-06-28 07:54:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 09:54:03 +0200 |
commit | 5b0cbf29b45676b36817679362133a6db1d958c2 (patch) | |
tree | 7854caeb502086c81d86a0a4b99fc2d19ca421fe /reuseport | |
parent | Support AIX SO_REUSEADDR and SO_REUSEPORT (#1328) (diff) | |
download | fasthttp-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.go | 2 |
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) } |