On 4/5/07, Greg Duffy <[EMAIL PROTECTED]> wrote:
Yes, I am queuing write requests as well, but the way you mentioned seems
like a possible ticket to OutOfMemoryError.

Yep, but user wrote by one's own will. ;)

And on the read operation, we can't remove OP_READ on DatagramAcceptor,
because there is just one selection key for many possible clients. I'm
currently just checking the session's TrafficMask and dropping the message
on the floor if it isn't readable.

Any more thoughts on this?

I think dropping is reasonable for UDP because it's inevitable
difference between transport type.  You could simply write some
warning in the documentation.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to