You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to interrupt ongoing SNMP GET operation (on unreachable Target). I pass a Context to GoSNMP struct and then cancel the context, but the cancel is ignored and the operation continues until timeout - code below takes approx 25 seconds to finish instead of 2 seconds.
Is this behaviour a feature? If so, how can I interrupt ongoing operation (in case of shutdown for example)? By closing the snmp connection?
I try to interrupt ongoing SNMP GET operation (on unreachable Target). I pass a Context to GoSNMP struct and then cancel the context, but the cancel is ignored and the operation continues until timeout - code below takes approx 25 seconds to finish instead of 2 seconds.
Is this behaviour a feature? If so, how can I interrupt ongoing operation (in case of shutdown for example)? By closing the snmp connection?
The text was updated successfully, but these errors were encountered: