Skip to content

Move initiator TLS and dialer setup into session factory#769

Open
codernull wants to merge 1 commit into
quickfixgo:mainfrom
codernull:move-initiator-tls-dialer-to-session-factory
Open

Move initiator TLS and dialer setup into session factory#769
codernull wants to merge 1 commit into
quickfixgo:mainfrom
codernull:move-initiator-tls-dialer-to-session-factory

Conversation

@codernull

@codernull codernull commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • Completes the long-standing TODO in Initiator.Start() by loading TLS and dialer configuration in sessionFactory alongside other initiator settings.
  • Stores tlsConfig and dialer on the session so connection handling no longer depends on config loaded at start time.
  • Avoids mutating a shared tls.Config.ServerName across reconnect attempts by deriving ServerName per address via tlsConfigForAddress.

@codernull
codernull force-pushed the move-initiator-tls-dialer-to-session-factory branch 5 times, most recently from 698b92e to 9f2a3d3 Compare July 16, 2026 06:04
Complete the long-standing TODO by configuring TLS and dialer in sessionFactory, and avoid mutating shared tls.Config ServerName across reconnects.
@codernull
codernull force-pushed the move-initiator-tls-dialer-to-session-factory branch from 9f2a3d3 to 0736b21 Compare July 16, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant