summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsip/sip_transport_tls.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_transport_tls.h b/pjsip/include/pjsip/sip_transport_tls.h
index d970df7b..cec869d4 100644
--- a/pjsip/include/pjsip/sip_transport_tls.h
+++ b/pjsip/include/pjsip/sip_transport_tls.h
@@ -109,6 +109,16 @@ typedef struct pjsip_tls_setting
pj_str_t ciphers;
/**
+ * Optionally specify the server name instance to be contacted when
+ * making outgoing TLS connection. This setting is useful when the
+ * server is hosting multiple domains for the same TLS listening
+ * socket.
+ *
+ * Default: empty.
+ */
+ pj_str_t server_name;
+
+ /**
* When PJSIP is acting as a client (outgoing TLS connections),
* it will always receive a certificate from the peer.
* If \a verify_server is disabled (set to zero), PJSIP will not