The NATS Server supports a handshake_first option which configures TLS connections to begin the TLS negotiation immediately, rather than first issuing an INFO response to negotiate up to TLS.
The C client doesn't appear to support this option yet.
Use case
If the server is configured with handshake_first: true, the server will expect TLS connections to start with the TLS negotiation, but the C client code does not have an option to start TLS connections that way.
Proposed change
The NATS Server supports a
handshake_first
option which configures TLS connections to begin the TLS negotiation immediately, rather than first issuing an INFO response to negotiate up to TLS.The C client doesn't appear to support this option yet.
Use case
If the server is configured with
handshake_first: true
, the server will expect TLS connections to start with the TLS negotiation, but the C client code does not have an option to start TLS connections that way.Contribution
No response