[QFJ-699] Configuring some sessions with SSL and some other sessions with nonSSL is not working as expected Created: 11/Aug/12  Updated: 24/Aug/12  Resolved: 14/Aug/12

Status: Resolved
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.2
Fix Version/s: 1.5.3

Type: Bug Priority: Major
Reporter: Viswanath Palutla Assignee: Christoph John
Resolution: Fixed Votes: 0
Labels: QuickfixJ, SocketUseSSL, logon, nonssl, ssl

Attachments: Java Source File SSLAndNonSSLTest.java    

 Description   

I have a session configured with SocketUseSSL=Y at port 9887 and another session configured with SocketUseSSL=N at port 9888.
When client for second session (with SocketUseSSL=N at 9888) is trying to connect, a SSL handshake exception is coming.
If same client is connecting with SocketUseSSL=Y at 9888, connection is successful



 Comments   
Comment by Christoph John [ 14/Aug/12 ]

Committed as rev1081.
It turned out that the acceptors were stored in a map in which the transportType was the key. Since for both SSL and non-SSL acceptors the transport type was the same, the same acceptor was used for SSL and non-SSL.
I have added the useSSL-flag to the key to treat SSL and non-SSL acceptors differently.

Comment by Viswanath Palutla [ 14/Aug/12 ]

thanks much

Generated at Sat Nov 23 07:44:57 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.