Skip to content

Support timeout on ssl connection #347

@ijufumi

Description

@ijufumi

Hi,

When TLS handshake hangs, handleConnection process is waiting so long.
reference: golang/go#17708

I would like to setting timeout on ssl connection.
change quickfix/initiator.go line 139 to

tlsConn, err := tls.DialWithDialer(&net.Dialer{Timeout: 15 * time.Second}, "tcp", address, tlsConfig)

What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions