mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 03:30:33 +00:00
Because SSL actually was relying upon accept() to hold indefininetly, it would hang up the UDP worker indefinitely, blocking requests. Fix this by driving the loop iteration through select() rather than accept() and iterating through each file handle only when select() says they are ready.