aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/connection.c2
-rw-r--r--src/microhttpd/daemon.c2
-rw-r--r--src/microhttpd/internal.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 715b2d40..7a17c628 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2076,7 +2076,7 @@ parse_initial_message_line (struct MHD_Connection *connection,
2076 { 2076 {
2077 size_t uri_len; 2077 size_t uri_len;
2078 curi = uri; 2078 curi = uri;
2079 /* Search from back to accept misformed URI with space */ 2079 /* Search from back to accept malformed URI with space */
2080 http_version = line + line_len - 1; 2080 http_version = line + line_len - 1;
2081 /* Skip any trailing spaces */ 2081 /* Skip any trailing spaces */
2082 while ( (' ' == http_version[0]) && 2082 while ( (' ' == http_version[0]) &&
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 473a5fb4..ce19d79a 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1326,7 +1326,7 @@ cleanup_upgraded_connection (struct MHD_Connection *connection)
1326#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) 1326#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT)
1327/** 1327/**
1328 * Performs bi-directional forwarding on upgraded HTTPS connections 1328 * Performs bi-directional forwarding on upgraded HTTPS connections
1329 * based on the readyness state stored in the @a urh handle. 1329 * based on the readiness state stored in the @a urh handle.
1330 * @remark To be called only from thread that processes 1330 * @remark To be called only from thread that processes
1331 * connection's recv(), send() and response. 1331 * connection's recv(), send() and response.
1332 * 1332 *
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 39a7825d..3fdc7e5c 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -1055,7 +1055,7 @@ struct UpgradeEpollHandle
1055 * 1055 *
1056 * Similarly, for writing to TLS, this epoll() will be on the 1056 * Similarly, for writing to TLS, this epoll() will be on the
1057 * connection's `socket_fd`, and this will merely be the FD which 1057 * connection's `socket_fd`, and this will merely be the FD which
1058 * the applicatio would write to. Hence this struct must always be 1058 * the application would write to. Hence this struct must always be
1059 * interpreted based on which field in `struct 1059 * interpreted based on which field in `struct
1060 * MHD_UpgradeResponseHandle` it is (`app` or `mhd`). 1060 * MHD_UpgradeResponseHandle` it is (`app` or `mhd`).
1061 */ 1061 */