Skip to content

Commit 889f7ce

Browse files
committed
Fix potential infinite loop
1 parent 3e71ddc commit 889f7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: uvloop/loop.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ cdef class Loop:
17551755
addrinfo.ai_family,
17561756
addrinfo.ai_socktype,
17571757
addrinfo.ai_protocol, exc_info=True)
1758-
continue
1758+
break
17591759

17601760
if reuse_address:
17611761
sock.setsockopt(uv.SOL_SOCKET, uv.SO_REUSEADDR, 1)

0 commit comments

Comments
 (0)