Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
SNMP: Handle SNMP alarms so we can reconnect to the master #5328
If the connection to the master is lost, the SNMP subagent API inserts an alarm to try to reconnect after a certain delay.
ahupowerdns left a comment
Now I know you are a really smart person, but it is my recollection select() craps out after "n" file descriptors. And one day we'll reach 'n'. We have some pretty reasonable 'poll' helpers in misc.cc, do you think we could reuse those?
Pushed two new commits who:
This allows to support file descriptors larger than