an IoFilter could probably work. This is related to the filter work that was discussed a while back that dealt with heartbeats.
On 6/21/07, Julien Vermillard <[EMAIL PROTECTED]> wrote:
On Thu, 21 Jun 2007 20:46:55 +0800 mat <[EMAIL PROTECTED]> wrote: > I wonder whether any function could prevent Mina from a malicious > client attacking by opening connections and not sending any data. If > NOT, how could I do? Thanks. Hi, Just detect IDLEness, in your IoHandler sessionIdle. If a client doesn't send enought data, close it. HTH Julien
-- ..Cheers Mark