summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-07-01 15:31:59 +0000
committerBenny Prijono <bennylp@teluu.com>2008-07-01 15:31:59 +0000
commit5c50c25acb9d1c7e6c92dedb796023594dafa162 (patch)
tree97416483a5afbd595ada7f91d81d0ec33f98b4bd /pjsip/include
parent042028219c31fff6913d0b14b006a54a8bbfabcb (diff)
Ticket #552: Added TLS server name extension to support connecting to multi-hosted SIP TLS server (thanks Klaus Darilion for the suggestion)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2094 74dad513-b988-da41-8d7b-12977e46ad98
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