[QFJ-822] DNS change prevents reconnection Created: 08/Jan/15  Updated: 21/Apr/16  Resolved: 19/Dec/15

Status: Closed
Project: QuickFIX/J
Component/s: Networking
Affects Version/s: 1.5.3
Fix Version/s: 1.6.2

Type: Improvement Priority: Default
Reporter: Dale Wilson Assignee: Dale Wilson
Resolution: Fixed Votes: 0
Labels: Reconnect
Environment:

All



 Description   

If a connection is lost and a DNS change is made before an attempt is made to reconnect, the reconnection attempt will fail, because the previous resolution information was cached by the initiator and will be re-used.

I'll be submitting a GitHub pull request for a change that invalidates the cached connection information when a connection attempt fails. This will have no impact on normal operations. The first reconnect attempt will use the cached information, but if it fails, the host name will be resolved again before the next attempt.



 Comments   
Comment by Christoph John [ 08/Jan/15 ]

Hi, just a question: isn't this a JVM specific setting?
http://docs.oracle.com/javase/6/docs/technotes/guides/net/properties.html#nct

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