is there a problem switching from SSL to NON-ssl on the same port?
posted 2 years ago
we have a java application that switches in runtime from NON-SSL to SSL server socket based on configuration, the clients attempt to determine the type connection by first trying non-ssl and when failing trying ssl connection.both server sockets are opened with allowReuse flag set to true.
after multiple switching (3-4 times) , i've noticed the clients seems to have trouble connecting with ssl, but when trying again they manage to establish connection. comparing wire shark indicates that instead of the usual client hello and server hello we get "unknown record"
on windows it would seem to be less happening then on ubuntu linux.