Merge branch 'poll'
authorMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 11:49:07 +0000 (12:49 +0100)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 11:49:07 +0000 (12:49 +0100)
commitf6f3b0db1154cf0f97f2b26757ae7c42f5629bf3
tree5fdb42930d1c23d5ace96af3f74865571a90b234
parente796b88e86a719c03d551318dda359b373496ce5
parent89f19ef8763f2139b080efa2de019914e84f7cad
Merge branch 'poll'

Replace relevant uses of select() by poll(). poll(2) avoids the difficulties
we have with more than 1024 open file descriptors, and seems to be fairly
portable.

Fixes #757.