diff options
Diffstat (limited to 'doc/chapters/tlsauthentication.inc')
-rw-r--r-- | doc/chapters/tlsauthentication.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/chapters/tlsauthentication.inc b/doc/chapters/tlsauthentication.inc index c1b66735..8bdfa764 100644 --- a/doc/chapters/tlsauthentication.inc +++ b/doc/chapters/tlsauthentication.inc | |||
@@ -68,7 +68,7 @@ main () | |||
68 | and then we point the @emph{MHD} daemon to it upon initalization. | 68 | and then we point the @emph{MHD} daemon to it upon initalization. |
69 | @verbatim | 69 | @verbatim |
70 | 70 | ||
71 | daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL, | 71 | daemon = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_SSL, |
72 | PORT, NULL, NULL, | 72 | PORT, NULL, NULL, |
73 | &answer_to_connection, NULL, | 73 | &answer_to_connection, NULL, |
74 | MHD_OPTION_HTTPS_MEM_KEY, key_pem, | 74 | MHD_OPTION_HTTPS_MEM_KEY, key_pem, |
@@ -138,7 +138,7 @@ To do this, you will need to link your application against @emph{gnutls}. | |||
138 | Next, when you start the MHD daemon, you must specify the root CA that you're | 138 | Next, when you start the MHD daemon, you must specify the root CA that you're |
139 | willing to trust: | 139 | willing to trust: |
140 | @verbatim | 140 | @verbatim |
141 | daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL, | 141 | daemon = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_SSL, |
142 | PORT, NULL, NULL, | 142 | PORT, NULL, NULL, |
143 | &answer_to_connection, NULL, | 143 | &answer_to_connection, NULL, |
144 | MHD_OPTION_HTTPS_MEM_KEY, key_pem, | 144 | MHD_OPTION_HTTPS_MEM_KEY, key_pem, |
@@ -326,7 +326,7 @@ of one domain is that you need to provide a callback instead of the key | |||
326 | and certificate. For example, when you start the MHD daemon, you could | 326 | and certificate. For example, when you start the MHD daemon, you could |
327 | do this: | 327 | do this: |
328 | @verbatim | 328 | @verbatim |
329 | daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL, | 329 | daemon = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_SSL, |
330 | PORT, NULL, NULL, | 330 | PORT, NULL, NULL, |
331 | &answer_to_connection, NULL, | 331 | &answer_to_connection, NULL, |
332 | MHD_OPTION_HTTPS_CERT_CALLBACK, &sni_callback, | 332 | MHD_OPTION_HTTPS_CERT_CALLBACK, &sni_callback, |