2011/10/10 Francis Galiegue <fgalie...@gmail.com>:
> 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to