[security-dev 00107]: JSSE sends a packet for every send()?
Max (Weijun) Wang
Weijun.Wang at Sun.COM
Thu Mar 13 22:40:03 PDT 2008
Playing with JSSE now.
I'm sending a byte on client side using 100 calls of write(int).
When receiving them on the server side using read(byte), I need
to call it 100 times and each time it only returns 1.
Does this mean the client generates one SSL packet for each write()
call? Why cannot it collect enough bytes before sending them if the
user hasn't call flush()? Is this behavior documented somewhere?
More information about the security-dev