aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/connection_add.c2
-rw-r--r--src/lib/connection_call_handlers.c2
-rw-r--r--src/lib/daemon_destroy.c2
-rw-r--r--src/lib/daemon_options.c8
-rw-r--r--src/lib/internal.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/connection_add.c b/src/lib/connection_add.c
index be75946d..878380ae 100644
--- a/src/lib/connection_add.c
+++ b/src/lib/connection_add.c
@@ -1044,7 +1044,7 @@ MHD_accept_connection_ (struct MHD_Daemon *daemon)
1044 { 1044 {
1045 const int err = MHD_socket_get_error_ (); 1045 const int err = MHD_socket_get_error_ ();
1046 1046
1047 /* This could be a common occurance with multiple worker threads */ 1047 /* This could be a common occurrence with multiple worker threads */
1048 if (MHD_SCKT_ERR_IS_ (err, 1048 if (MHD_SCKT_ERR_IS_ (err,
1049 MHD_SCKT_EINVAL_)) 1049 MHD_SCKT_EINVAL_))
1050 return MHD_SC_DAEMON_ALREADY_SHUTDOWN; /* can happen during shutdown, let's hope this is the cause... */ 1050 return MHD_SC_DAEMON_ALREADY_SHUTDOWN; /* can happen during shutdown, let's hope this is the cause... */
diff --git a/src/lib/connection_call_handlers.c b/src/lib/connection_call_handlers.c
index 148e6345..fa79952b 100644
--- a/src/lib/connection_call_handlers.c
+++ b/src/lib/connection_call_handlers.c
@@ -158,7 +158,7 @@ MHD_conn_init_static_ (void)
158 158
159 159
160/** 160/**
161 * A serious error occured, close the 161 * A serious error occurred, close the
162 * connection (and notify the application). 162 * connection (and notify the application).
163 * 163 *
164 * @param connection connection to close with error 164 * @param connection connection to close with error
diff --git a/src/lib/daemon_destroy.c b/src/lib/daemon_destroy.c
index 41e5c057..e40ff520 100644
--- a/src/lib/daemon_destroy.c
+++ b/src/lib/daemon_destroy.c
@@ -30,7 +30,7 @@
30/** 30/**
31 * Stop all worker threads from the worker pool. 31 * Stop all worker threads from the worker pool.
32 * 32 *
33 * @param daemon master daemon controling the workers 33 * @param daemon master daemon controlling the workers
34 */ 34 */
35static void 35static void
36stop_workers (struct MHD_Daemon *daemon) 36stop_workers (struct MHD_Daemon *daemon)
diff --git a/src/lib/daemon_options.c b/src/lib/daemon_options.c
index 04c9cb2f..fa84fe83 100644
--- a/src/lib/daemon_options.c
+++ b/src/lib/daemon_options.c
@@ -233,7 +233,7 @@ MHD_daemon_listen_backlog (struct MHD_Daemon *daemon,
233 * If present true, allow reusing address:port socket (by using 233 * If present true, allow reusing address:port socket (by using
234 * SO_REUSEPORT on most platform, or platform-specific ways). If 234 * SO_REUSEPORT on most platform, or platform-specific ways). If
235 * present and set to false, disallow reusing address:port socket 235 * present and set to false, disallow reusing address:port socket
236 * (does nothing on most plaform, but uses SO_EXCLUSIVEADDRUSE on 236 * (does nothing on most platform, but uses SO_EXCLUSIVEADDRUSE on
237 * Windows). 237 * Windows).
238 * Ineffective in conjunction with #MHD_daemon_listen_socket(). 238 * Ineffective in conjunction with #MHD_daemon_listen_socket().
239 * 239 *
@@ -248,7 +248,7 @@ MHD_daemon_listen_allow_address_reuse (struct MHD_Daemon *daemon)
248 248
249/** 249/**
250 * Use SHOUTcast. This will cause the response to begin 250 * Use SHOUTcast. This will cause the response to begin
251 * with the SHOUTcast "ICY" line instad of "HTTP". 251 * with the SHOUTcast "ICY" line instead of "HTTP".
252 * 252 *
253 * @param daemon daemon to set SHOUTcast option for 253 * @param daemon daemon to set SHOUTcast option for
254 */ 254 */
@@ -452,7 +452,7 @@ MHD_daemon_tls_mem_dhparams (struct MHD_Daemon *daemon,
452 452
453/** 453/**
454 * Memory pointer for the certificate (ca.pem) to be used by the 454 * Memory pointer for the certificate (ca.pem) to be used by the
455 * HTTPS daemon for client authentification. 455 * HTTPS daemon for client authentication.
456 * 456 *
457 * @param daemon daemon to configure tls for 457 * @param daemon daemon to configure tls for
458 * @param mem_trust memory pointer to the certificate 458 * @param mem_trust memory pointer to the certificate
@@ -707,7 +707,7 @@ MHD_daemon_unescape_cb (struct MHD_Daemon *daemon,
707/** 707/**
708 * Set random values to be used by the Digest Auth module. Note that 708 * Set random values to be used by the Digest Auth module. Note that
709 * the application must ensure that @a buf remains allocated and 709 * the application must ensure that @a buf remains allocated and
710 * unmodified while the deamon is running. 710 * unmodified while the daemon is running.
711 * 711 *
712 * @param daemon daemon to configure 712 * @param daemon daemon to configure
713 * @param buf_size number of bytes in @a buf 713 * @param buf_size number of bytes in @a buf
diff --git a/src/lib/internal.h b/src/lib/internal.h
index 6c43fc20..c9971999 100644
--- a/src/lib/internal.h
+++ b/src/lib/internal.h
@@ -1410,7 +1410,7 @@ struct MHD_Daemon
1410 struct MHD_itc_ itc; 1410 struct MHD_itc_ itc;
1411 1411
1412 /** 1412 /**
1413 * Which threading mode do we use? Postive 1413 * Which threading mode do we use? Positive
1414 * numbers indicate the number of worker threads to be used. 1414 * numbers indicate the number of worker threads to be used.
1415 * Values larger than 1 imply a thread pool. 1415 * Values larger than 1 imply a thread pool.
1416 */ 1416 */