Dave, thanks for your answer. You are right that will fix the basic problem and actually that was our first fix. However, as you said, it may associate the error with the wrong varbind which will generate a incorrect indexError in the get response. That is why we put a while there looking for the correct VB.
Any ideas on the set requests? Regards, Pablo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield > Sent: Wednesday, October 11, 2006 9:07 AM > To: Passera Pablo-APP015 > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: Timeout for proxied get requests > > On 05/10/06, Passera Pablo-APP015 <[EMAIL PROTECTED]> wrote: > > When the SA responds,.... it calls > > netsnmp_set_request_error(cache->reqinfo, requests, pdu->errstat); > > This function only marks as not delegated the first request in the > > request list, leaving the other requests as delegated. Which causes > > that the agent never respond to the snmpget application. > > > > The proposed solution would be to replace the > > netsnmp_set_request_error(cache->reqinfo, requests, pdu->errstat); > > line by > [snip] > > What happens if you replace the final alternative in that > errstat != NOERROR block with > > { > netsnmp_handler_mark_requests_as_delegated( > requests, REQUEST_IS_NOT_DELEGATED); > netsnmp_set_request_error(cache->reqinfo, requests, > pdu->errstat); > } > > ? > > That'll probably associate the error with the wrong varbind, > but does it fix the basic problem? > > Dave > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders