On 1/16/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
In MINA (Corrected FtpServer implementation using traffic control) 1) Client sends AUTH SSL. 2) Server reads AUTH SSL. 3) Server suspends read operation. (IoSession.suspendRead()) 4) Server sends a response. 3) Client sends negotiation request, but I/O processor doesn't read until read operations are resumed. 5) Server adds a SSLFilter. 6) Server resumes read operation. (IoSession.resumeRead())
Oops, the sequence numbers are messed up. :) It's actually 1 to 7. Anyway, this solution might not work as I expected because I didn't try it. If you are a good adventurer, please let me know if this works. Otherwise, you'd better stick to the former. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
