RE: Timeout for proxied get requests

This is a discussion on RE: Timeout for proxied get requests within the SNMP Coders forums, part of the Networking and Network Related category; Dave, thanks for your answer. You are right that will fix the basic problem and actually that was our first ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-11-2006
Passera Pablo-APP015
 
Posts: n/a
Default RE: Timeout for proxied get requests

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: dave.shield@googlemail.com
> [mailto:dave.shield@googlemail.com] 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 <pablo.passera@motorola.com> 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=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0