I have an application that is using net-snmp v5.3.0.1 and am trying to
debug a situation where net-snmp seems to be blocking indefinitely. I
found the following code in snmp_sess_synch_response

snmp_sess_select_info(sessp, &numfds, &fdset, tvp, &block);
if (block == 1)
tvp = NULL; /* block without timeout */
count = select(numfds, &fdset, 0, 0, tvp);

So it looks like there are situations where the code can get into a
blocked state.

I took a look at snmp_sess_select_info and it appears block is set to 1
if a session has no requests and no alarms.
Does anyone know what might cause this to happen?

Mathew

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users