Klaus Demo bjoern / f528542
Fix #169: Never block on accept() Jonas Haag 25 days ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2727 # load distribution. https://lwn.net/Articles/542629/
2828 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
2929 sock.bind((host, port))
30
31 sock.setblocking(False)
3032
3133 sock.listen(listen_backlog)
3234