>>>>> On Wed, 28 Sep 2005 13:00:10 +0300, Pantelis Antoniou <[EMAIL PROTECTED]> 
>>>>> said:

Pantelis> The following small patch allows a wildcard context "*" be used.
Pantelis> That way an agent/proxy that responds to a large number of contexts
Pantelis> can be used in a more lightweight manner.

I don't mind the idea at all, and in fact it's been discussed before
but no one has ever implemented it!  However, doesn't the code
submitted match against the * if it's earlier in the list even if
there may be something more specific later on?  IE, if there was a
true registration of the context "foo" and "*" and the incoming
request was of context "bar" then it would only match "*", but if it
was incoming of "foo" it could get either depending on the ordering of
the list.  I'd argue that we should look for an exact match before
returning the "*" match.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to