File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ cdef extern from "uv.h" nogil:
57
57
cdef int SOL_SOCKET
58
58
cdef int SO_ERROR
59
59
cdef int SO_REUSEADDR
60
- cdef int SO_REUSEPORT
60
+ # use has_SO_REUSEPORT and SO_REUSEPORT in stdlib.pxi instead
61
61
cdef int AF_INET
62
62
cdef int AF_INET6
63
63
cdef int AF_UNIX
Original file line number Diff line number Diff line change @@ -1775,7 +1775,7 @@ cdef class Loop:
1775
1775
if reuse_address:
1776
1776
sock.setsockopt(uv.SOL_SOCKET, uv.SO_REUSEADDR, 1 )
1777
1777
if reuse_port:
1778
- sock.setsockopt(uv.SOL_SOCKET, uv. SO_REUSEPORT, 1 )
1778
+ sock.setsockopt(uv.SOL_SOCKET, SO_REUSEPORT, 1 )
1779
1779
# Disable IPv4/IPv6 dual stack support (enabled by
1780
1780
# default on Linux) which makes a single socket
1781
1781
# listen on both address families.
You can’t perform that action at this time.
0 commit comments