Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
proton-0.10
-
None
Description
If the SSL instance is configured before binding, and no hostname has been configured for the connection to be bound, the peer hostname as configured on the SSL object is reset (no hostname set).
To be compatible with the previous releases of proton, pn_ssl_set_peer_hostname() should take precedence over the hostname configured for the connection. e.g. the connection's hostname should be used by default, unless a hostname has been explicitly set via pn_ssl_set_peer_hostname().