aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-07 23:15:42 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 00:54:59 +0300
commita48ca85fb74479a8a81e137138a30fab58f3eb1e (patch)
tree9089a6392d1c21466259a46f7139c18644274e5a /doc/chapters
parent4e4a1ce2bb9f6cd1d38fdc5f169d8956afab70c0 (diff)
downloadlibmicrohttpd-a48ca85fb74479a8a81e137138a30fab58f3eb1e.tar.gz
libmicrohttpd-a48ca85fb74479a8a81e137138a30fab58f3eb1e.zip
Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
Diffstat (limited to 'doc/chapters')
-rw-r--r--doc/chapters/hellobrowser.inc2
-rw-r--r--doc/chapters/processingpost.inc2
-rw-r--r--doc/chapters/tlsauthentication.inc6
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/chapters/hellobrowser.inc b/doc/chapters/hellobrowser.inc
index bcd259b3..73b7b0b3 100644
--- a/doc/chapters/hellobrowser.inc
+++ b/doc/chapters/hellobrowser.inc
@@ -95,7 +95,7 @@ int main ()
95{ 95{
96 struct MHD_Daemon *daemon; 96 struct MHD_Daemon *daemon;
97 97
98 daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL, 98 daemon = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD, PORT, NULL, NULL,
99 &answer_to_connection, NULL, MHD_OPTION_END); 99 &answer_to_connection, NULL, MHD_OPTION_END);
100 if (NULL == daemon) return 1; 100 if (NULL == daemon) return 1;
101 101
diff --git a/doc/chapters/processingpost.inc b/doc/chapters/processingpost.inc
index 92f93f55..920dac31 100644
--- a/doc/chapters/processingpost.inc
+++ b/doc/chapters/processingpost.inc
@@ -134,7 +134,7 @@ in the main function.
134 134
135@verbatim 135@verbatim
136... 136...
137daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL, 137daemon = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD, PORT, NULL, NULL,
138 &answer_to_connection, NULL, 138 &answer_to_connection, NULL,
139 MHD_OPTION_NOTIFY_COMPLETED, &request_completed, NULL, 139 MHD_OPTION_NOTIFY_COMPLETED, &request_completed, NULL,
140 MHD_OPTION_END); 140 MHD_OPTION_END);
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 ()
68and then we point the @emph{MHD} daemon to it upon initalization. 68and 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}.
138Next, when you start the MHD daemon, you must specify the root CA that you're 138Next, when you start the MHD daemon, you must specify the root CA that you're
139willing to trust: 139willing 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
326and certificate. For example, when you start the MHD daemon, you could 326and certificate. For example, when you start the MHD daemon, you could
327do this: 327do 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,