Re: Delegate GET request

2007-10-16 Thread Wes Hardaker
> "skk" == shwth k kk writes: skk> we are storing in a global variable array that is indexed by the skk> transaction Id.So, the array is not getting overwritten. Also were skk> setting requests->delegated = 0; skk> before calling snmp_set_var_typed_value function. Well... Then I'm not sure

Re: Delegate GET request

2007-10-15 Thread shwth_k kk
Hi we are storing in a global variable array that is indexed by the transaction Id.So, the array is not getting overwritten. Also were setting requests->delegated = 0; before calling snmp_set_var_typed_value function. Any pointers would greatly help On 10/15/07, Wes Hardaker <[EMAIL PROTECTED]>

Re: Delegate GET request

2007-10-15 Thread Wes Hardaker
> "skk" == shwth k kk writes: skk> Reason: (genError) A general failure occured Are you remembering to set the delegated flag back to 0? IE: requests->delegated = 0; after you handle the request? Note that storing the delegated cache in a global variable isn't safe. IE, if two requ

Delegate GET request

2007-10-15 Thread shwth_k kk
Hi, My application requires to fetch the oid value from a different process, so I need to use the delegate option in subAgent. I'm storing the cache in a global memory and accessing it once I get the oid value from the process. Always I'm getting the following error Error in packet Reason: (genErr