tomaswolf commented on issue #439:
URL: https://github.com/apache/mina-sshd/issues/439#issuecomment-1849067063

   I don't understand your example code. What's `client`? Seems undefined.
   
   In any case: SEND_IMMEDIATE_KEXINIT = false delays sending the client's KEX 
init message until after the server's KEX init message has been received. But 
KEX init occur early in `connect()`, so re-configuring this afterwards does 
indeed result in a race condition.
   
   Per-session configuration of the KEX proposal (ciphers, macs, and so on)  
can be achieved for instance via 
`SessionListener.sessionNegotiationOptionsCreated`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to