From 37b6733a75168c6e12b88d20905e5241df2b327d Mon Sep 17 00:00:00 2001 From: Denis Skovpen Date: Mon, 11 Oct 2021 16:25:03 +0300 Subject: [PATCH] Fix infinite loop --- uvloop/loop.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uvloop/loop.pyx b/uvloop/loop.pyx index d9b5aaac..22db6ad8 100644 --- a/uvloop/loop.pyx +++ b/uvloop/loop.pyx @@ -1755,7 +1755,7 @@ cdef class Loop: addrinfo.ai_family, addrinfo.ai_socktype, addrinfo.ai_protocol, exc_info=True) - continue + break if reuse_address: sock.setsockopt(uv.SOL_SOCKET, uv.SO_REUSEADDR, 1)