Try to process all pending events after select().
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 28 Feb 2018 20:28:16 +0000 (21:28 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 28 Feb 2018 20:28:16 +0000 (21:28 +0100)
commita742ea4d040ecfaabbc875c63f2625654ce68923
tree795d53d2e6b46c302fed0c3ec0911262f1ac00d8
parentd6c8a1a3d3e945142b251b2897517e10ce0dfce4
Try to process all pending events after select().

If we break out of the loop every time at the first filedescriptor that
is read/writeable, we risk starving the other filedescriptors.
src/event.c