[AGENT++] How to Stop Response to Request
Jochen Katz
katz at agentpp.com
Thu Feb 2 21:08:19 CET 2006
Hi Francis,
> Thank you. I did as you suggested but there's a segmentation fault during
> the agent execution; and it appears to have been caused by "delete req" .
ok, I was a bit too fast. The request is within a list and it has to be
removed before deleting it, additionally for v3 the cached information
has to be removed.
Instead of "delete req;" call "reqList->remove_request(req)", this
function and the necessary changes to snmp++/agent++ are within the
attached patch.
Regards,
Jochen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
Url: http://lists.agentpp.org/pipermail/agentpp/attachments/20060202/c85a099e/attachment.txt
More information about the AGENTPP
mailing list