2011/10/10 Francis Galiegue <[email protected]>:
> error handling (what
> should be done when an illegal netmask is supplied, etc).

I think the called method should fail with some RuntimeException.

That is what will happen with existing RemoteAddrValve if you pass a
value that Pattern.compile() cannot handle. (See
RequestFilterValve#setAllow(String)).

It would not be safe to operate a Valve that is misconfigured.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to