Hi, I have a strange problem. I wrote a program, the client connect to server by long connect. Then I send messages from client to server, the server write responses to client. If I set sendBufferSize of client to 512, it works OK. but if I set sendBufferSize larger, the client program will be blocked. More larger, more quickly the client be blocked.
the block happend at the code: WriteFuture wf = session.write(submit); wf.awaitUninterruptibly(); //very slow when blocked, need about 5 seconds. Now I have to set the sendBufferSize to 512 to prevent the client write block. Could anybody tell me what's the problem? And how to resolve it? Thanks a lot. 2010-11-28 bjrenyong
