diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-19 18:30:00 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-19 18:36:21 +0300 |
commit | a4ae51f5812603feff10e536aa05cb00808bc7d5 (patch) | |
tree | f398d378a440358ceebf0782cfa6ec53a0db8936 | |
parent | fb25f5f301530d3aa424aa98802f0875dd72fde5 (diff) | |
download | libmicrohttpd-0.9.74.tar.gz libmicrohttpd-0.9.74.zip |
Released GNU libmicrohttpd 0.9.74v0.9.74
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | NEWS | 152 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | po/libmicrohttpd.pot | 540 | ||||
-rw-r--r-- | src/include/microhttpd.h | 2 |
5 files changed, 473 insertions, 230 deletions
@@ -1,3 +1,6 @@ | |||
1 | Web 19 Dec 2021 18:30:00 MSK | ||
2 | Releasing GNU libmicrohttpd 0.9.74 -EG | ||
3 | |||
1 | December 2021 | 4 | December 2021 |
2 | Fixed doxy for MHD_suspend_connection(). | 5 | Fixed doxy for MHD_suspend_connection(). |
3 | Some code improvements for new test test_client_put_stop. | 6 | Some code improvements for new test test_client_put_stop. |
@@ -1,3 +1,155 @@ | |||
1 | Web 19 Dec 2021 18:30:00 MSK | ||
2 | Released GNU libmicrohttpd 0.9.74 | ||
3 | |||
4 | This release brings a lot of fixes and improvements, and | ||
5 | important new features. | ||
6 | The most significant addition is the new experimental | ||
7 | implementation of WebSockets contributed by David Gausmann. This | ||
8 | implementation is not fully tested yet so currently it is disabled | ||
9 | by default. | ||
10 | Other changes include a lot of improvements and clarifications | ||
11 | in doxy comments in microhttpd.h header file, improved compliance | ||
12 | with the RFC HTTP specifications, the new implementation of reply | ||
13 | header forming, the new implementation of request chunked encoding | ||
14 | parsing, new automatic error replies, internal optimisations, and | ||
15 | many important fixes, including fixes for long-standing bugs. | ||
16 | |||
17 | More detailed list of notable changes: | ||
18 | |||
19 | API changes: | ||
20 | + Added new function MHD_get_reason_phrase_len_for(). | ||
21 | + Added MHD_CONNECTION_INFO_HTTP_STATUS type of information | ||
22 | queried by MHD_get_connection_info(). | ||
23 | + Added new response flag MHD_RF_SEND_KEEP_ALIVE_HEADER to force | ||
24 | sending of "keep-alive" header even if not required by RFC. | ||
25 | + Added new response creation function | ||
26 | MHD_create_response_from_buffer_with_free_callback_cls() with | ||
27 | custom cleanup callback. | ||
28 | + Added new response flag MHD_RF_HTTP_1_0_COMPATIBLE_STRICT with | ||
29 | the same functionality as existing MHD_RF_HTTP_VERSION_1_0_ONLY | ||
30 | flag. The old flag will be deprecated. | ||
31 | + Added new response flag MHD_RF_HTTP_1_0_SERVER with the same | ||
32 | functionality as existing MHD_RF_HTTP_VERSION_1_0_RESPONSE flag. | ||
33 | The old flag will be deprecated. | ||
34 | |||
35 | New features: | ||
36 | + Added experimental WebSockets extension with separate header. | ||
37 | Disabled by default as it is not fully tested yet. | ||
38 | + Added '--enable-sanitizers[=address,undefined,leak,user-poison]' | ||
39 | configure parameter (instead of '--enable-sanitizer'), | ||
40 | implemented custom memory poisoning for memory pools. | ||
41 | |||
42 | Improvements and enhancements: | ||
43 | * Doxy function descriptions was corrected, clarified, extended, | ||
44 | and improved. Now it should be much easier to learn MHD just by | ||
45 | reading the headers. | ||
46 | * Completely rewritten reply header forming. New implementation is | ||
47 | more robust, simpler maintainable and expandable, and better | ||
48 | follows RFC HTTP specifications. | ||
49 | * Performance improvements: now HTTP version and request method are | ||
50 | decoded one time only (previously MHD used string comparison many | ||
51 | times during processing the data). | ||
52 | * Rewritten request chunked payload decoding. The new | ||
53 | implementation better conforms to the HTTP RFC, detects format | ||
54 | problems earlier, replies to the clients with description of | ||
55 | detected problems, handles untypical (but syntactically correct) | ||
56 | values properly. | ||
57 | * Added special replies for wrong/unsupported HTTP versions in | ||
58 | requests, broken HTTP chunked encoding in requests, | ||
59 | * As required by HTTP RFC, added automatic error replies if client | ||
60 | used broken chunked encoding, too large chunk size, too large | ||
61 | payload size, or broken Content-Length header. | ||
62 | * Optimized connection's memory pool handling. | ||
63 | * Changed timeout precision from one second to one millisecond. | ||
64 | * Added some checks for incorrect user data, reporting problems in | ||
65 | MHD log. | ||
66 | * Improved performance of hash calculations functions by using | ||
67 | compiler built-ins (if available). | ||
68 | * Implemented SHA-1 calculations (required for WebSockets). | ||
69 | * Added universal MSVC project that works with any (sufficiently | ||
70 | new) version of MSVC. | ||
71 | * Developed simple HTTP client to test MHD under very special | ||
72 | conditions. | ||
73 | * Implemented 45 new tests. | ||
74 | * Improved existing tests to test more aspects of MHD. | ||
75 | * Added check for correct results of system and libcurl functions. | ||
76 | * Response headers are checked during forming of responses. | ||
77 | * HTTPS tests were improved. | ||
78 | * Added rebuild on W32 of all required files if files are missing. | ||
79 | * Many internal optimisations and improvements. | ||
80 | |||
81 | Functionality changes: | ||
82 | * Keep-alive header is omitted by default for HTTP/1.1 connections. | ||
83 | Use of header can be enforced by response flag. | ||
84 | * Chunked encoding is used for HTTP/1.1 non-keep-alive connections | ||
85 | for responses with unknown size. Previously MHD used "indication | ||
86 | of the end of the response by closing connection" in such cases, | ||
87 | however it is not correct for HTTP/1.1 connections as per HTTP | ||
88 | RFC. | ||
89 | * As required by HTTP RFC, use HTTP/1.1 version instead of HTTP/1.0 | ||
90 | in reply headers when client is HTTP/1.0 . HTTP/1.0 version can | ||
91 | be enforced by response flag. | ||
92 | * User response headers are used in replies in the same order as | ||
93 | was added by application. | ||
94 | * Allowed tab characters in response header values. | ||
95 | * All custom "Connection:" response headers are automatically | ||
96 | combined into single "Connection:" header. | ||
97 | * "keep-alive" token silently dropped from custom "Connection:" | ||
98 | response header. "Keep-alive" cannot be enforced and used | ||
99 | automatically if possible. | ||
100 | * Allow tab character in custom response header value. | ||
101 | * Disallow space character in custom response header value. | ||
102 | * Do not allow responses with 1xx codes for HTTP/1.0 requests. | ||
103 | * Detected and reported incorrect "Upgrade" responses. | ||
104 | * W32 targets are changed to Vista+ by default. XP is supported | ||
105 | still. | ||
106 | |||
107 | Fixes: | ||
108 | # Fixed short busy-waiting (up to one second) when connection is | ||
109 | going to be expired and closed. | ||
110 | # Fixed handling of errors during start of new connection, fixed | ||
111 | inability to accept new connections in thread-per-connection mode | ||
112 | due to the missing decrement of number of daemon's connections if | ||
113 | start of new thread is failed. | ||
114 | # Fixed incorrect parsing of LFLF, LFCR, CRCR, and bare CR as | ||
115 | single linefeed in request header and request chunked payload. | ||
116 | Now only CRLF or bare LF are recognized as linefeed. | ||
117 | # Fixed response chunked encoding handling. Now it works properly | ||
118 | with non-keep-alive connection, with fixed size replies (if | ||
119 | chunked was enforced by header), and in other situations. | ||
120 | # Other fixes for chunked replies. | ||
121 | # Fixed handling of custom connection timeout in thread-per- | ||
122 | connection mode. | ||
123 | # Fixed wrongly used MHD_REQUEST_TERMINATED_COMPLETED_OK code for | ||
124 | application notification when MHD_REQUEST_TERMINATED_WITH_ERROR | ||
125 | code must be used. | ||
126 | # Fixed code MHD_REQUEST_TERMINATED_READ_ERROR not reported (code | ||
127 | MHD_REQUEST_TERMINATED_WITH_ERROR was incorrectly used instead). | ||
128 | # Fixed handling of request chunked encoding with untypical | ||
129 | formatting. | ||
130 | # Fixed processing of last part of hex-encoded values under | ||
131 | certain conditions. | ||
132 | # Fixed value returned for MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE. | ||
133 | # Fixed returned value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, | ||
134 | now it is MHD_YES as W32 does not need SIGPIPE suppression. | ||
135 | # Fixed portability of bitwise NOT for enums values. | ||
136 | # Fixed SHA-256 and MD5 calculations with unaligned data. | ||
137 | # Fixed incorrect caseless matching for HTTP version. | ||
138 | # Fixed incorrect caseless matching for request method. | ||
139 | # Fixed compatibility with old GnuTLS versions. | ||
140 | # Fixed compiler warnings on 32-bits platforms. | ||
141 | # Fixed blocking sockets setting in tests and examples for W32. | ||
142 | # Fixed examples to really use libmagic if present. | ||
143 | # HTTPS tests were fixed. | ||
144 | # Fixed libcurl test with case-insensitive match for HTTP methods, | ||
145 | method names must use case-sensitive match. | ||
146 | # Fixed tests compatibility with old libcurl versions. | ||
147 | # Fixed build on W32 with llvm-dlltool (this tool is too | ||
148 | oversimplified) | ||
149 | |||
150 | -- Evgeny Grin (Karlson2k) | ||
151 | |||
152 | |||
1 | Sun 25 Apr 2021 14:00:00 MSK | 153 | Sun 25 Apr 2021 14:00:00 MSK |
2 | Released GNU libmicrohttpd 0.9.73 | 154 | Released GNU libmicrohttpd 0.9.73 |
3 | 155 | ||
diff --git a/configure.ac b/configure.ac index e9a15565..1e5552ff 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -23,15 +23,15 @@ | |||
23 | # | 23 | # |
24 | AC_PREREQ([2.64]) | 24 | AC_PREREQ([2.64]) |
25 | LT_PREREQ([2.4.0]) | 25 | LT_PREREQ([2.4.0]) |
26 | AC_INIT([GNU Libmicrohttpd],[0.9.73],[libmicrohttpd@gnu.org]) | 26 | AC_INIT([GNU Libmicrohttpd],[0.9.74],[libmicrohttpd@gnu.org]) |
27 | AC_CONFIG_AUX_DIR([build-aux]) | 27 | AC_CONFIG_AUX_DIR([build-aux]) |
28 | AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) | 28 | AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) |
29 | AC_CONFIG_HEADERS([MHD_config.h]) | 29 | AC_CONFIG_HEADERS([MHD_config.h]) |
30 | AC_CONFIG_MACRO_DIR([m4]) | 30 | AC_CONFIG_MACRO_DIR([m4]) |
31 | 31 | ||
32 | LIB_VERSION_CURRENT=70 | 32 | LIB_VERSION_CURRENT=71 |
33 | LIB_VERSION_REVISION=0 | 33 | LIB_VERSION_REVISION=0 |
34 | LIB_VERSION_AGE=58 | 34 | LIB_VERSION_AGE=59 |
35 | AC_SUBST(LIB_VERSION_CURRENT) | 35 | AC_SUBST(LIB_VERSION_CURRENT) |
36 | AC_SUBST(LIB_VERSION_REVISION) | 36 | AC_SUBST(LIB_VERSION_REVISION) |
37 | AC_SUBST(LIB_VERSION_AGE) | 37 | AC_SUBST(LIB_VERSION_AGE) |
diff --git a/po/libmicrohttpd.pot b/po/libmicrohttpd.pot index 3abf54eb..be969a8c 100644 --- a/po/libmicrohttpd.pot +++ b/po/libmicrohttpd.pot | |||
@@ -6,9 +6,9 @@ | |||
6 | #, fuzzy | 6 | #, fuzzy |
7 | msgid "" | 7 | msgid "" |
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: GNU libmicrohttpd 0.9.73\n" | 9 | "Project-Id-Version: GNU libmicrohttpd 0.9.74\n" |
10 | "Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n" | 10 | "Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n" |
11 | "POT-Creation-Date: 2021-04-24 21:59+0300\n" | 11 | "POT-Creation-Date: 2021-12-19 18:30+0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -17,23 +17,23 @@ msgstr "" | |||
17 | "Content-Type: text/plain; charset=CHARSET\n" | 17 | "Content-Type: text/plain; charset=CHARSET\n" |
18 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | 19 | ||
20 | #: src/microhttpd/connection_https.c:161 | 20 | #: src/microhttpd/connection_https.c:167 |
21 | msgid "Error: received handshake message out of context.\n" | 21 | msgid "Error: received handshake message out of context.\n" |
22 | msgstr "" | 22 | msgstr "" |
23 | 23 | ||
24 | #: src/microhttpd/mhd_locks.h:125 | 24 | #: src/microhttpd/mhd_locks.h:127 |
25 | msgid "Failed to destroy mutex.\n" | 25 | msgid "Failed to destroy mutex.\n" |
26 | msgstr "" | 26 | msgstr "" |
27 | 27 | ||
28 | #: src/microhttpd/mhd_locks.h:158 | 28 | #: src/microhttpd/mhd_locks.h:160 |
29 | msgid "Failed to lock mutex.\n" | 29 | msgid "Failed to lock mutex.\n" |
30 | msgstr "" | 30 | msgstr "" |
31 | 31 | ||
32 | #: src/microhttpd/mhd_locks.h:184 | 32 | #: src/microhttpd/mhd_locks.h:186 |
33 | msgid "Failed to unlock mutex.\n" | 33 | msgid "Failed to unlock mutex.\n" |
34 | msgstr "" | 34 | msgstr "" |
35 | 35 | ||
36 | #: src/microhttpd/internal.h:96 | 36 | #: src/microhttpd/internal.h:105 |
37 | msgid "Failed to close FD.\n" | 37 | msgid "Failed to close FD.\n" |
38 | msgstr "" | 38 | msgstr "" |
39 | 39 | ||
@@ -71,241 +71,267 @@ msgstr "" | |||
71 | msgid "Authentication failed, arguments do not match.\n" | 71 | msgid "Authentication failed, arguments do not match.\n" |
72 | msgstr "" | 72 | msgstr "" |
73 | 73 | ||
74 | #: src/microhttpd/digestauth.c:1289 | 74 | #: src/microhttpd/digestauth.c:1290 |
75 | msgid "Digest size mismatch.\n" | 75 | msgid "Digest size mismatch.\n" |
76 | msgstr "" | 76 | msgstr "" |
77 | 77 | ||
78 | #: src/microhttpd/digestauth.c:1382 | 78 | #: src/microhttpd/digestauth.c:1383 |
79 | msgid "Could not register nonce (is the nonce array size zero?).\n" | 79 | msgid "Could not register nonce (is the nonce array size zero?).\n" |
80 | msgstr "" | 80 | msgstr "" |
81 | 81 | ||
82 | #: src/microhttpd/digestauth.c:1407 | 82 | #: src/microhttpd/digestauth.c:1408 |
83 | msgid "Failed to allocate memory for auth response header.\n" | 83 | msgid "Failed to allocate memory for auth response header.\n" |
84 | msgstr "" | 84 | msgstr "" |
85 | 85 | ||
86 | #: src/microhttpd/digestauth.c:1449 | 86 | #: src/microhttpd/digestauth.c:1450 |
87 | msgid "Failed to add Digest auth header.\n" | 87 | msgid "Failed to add Digest auth header.\n" |
88 | msgstr "" | 88 | msgstr "" |
89 | 89 | ||
90 | #: src/microhttpd/daemon.c:136 | 90 | #: src/microhttpd/daemon.c:137 |
91 | #, c-format | 91 | #, c-format |
92 | msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n" | 92 | msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n" |
93 | msgstr "" | 93 | msgstr "" |
94 | 94 | ||
95 | #: src/microhttpd/daemon.c:449 | 95 | #: src/microhttpd/daemon.c:450 |
96 | msgid "Failed to add IP connection count node.\n" | 96 | msgid "Failed to add IP connection count node.\n" |
97 | msgstr "" | 97 | msgstr "" |
98 | 98 | ||
99 | #: src/microhttpd/daemon.c:507 | 99 | #: src/microhttpd/daemon.c:508 |
100 | msgid "Failed to find previously-added IP address.\n" | 100 | msgid "Failed to find previously-added IP address.\n" |
101 | msgstr "" | 101 | msgstr "" |
102 | 102 | ||
103 | #: src/microhttpd/daemon.c:513 | 103 | #: src/microhttpd/daemon.c:514 |
104 | msgid "Previously-added IP address had counter of zero.\n" | 104 | msgid "Previously-added IP address had counter of zero.\n" |
105 | msgstr "" | 105 | msgstr "" |
106 | 106 | ||
107 | #: src/microhttpd/daemon.c:565 | 107 | #: src/microhttpd/daemon.c:566 |
108 | msgid "Too long trust certificate.\n" | 108 | msgid "Too long trust certificate.\n" |
109 | msgstr "" | 109 | msgstr "" |
110 | 110 | ||
111 | #: src/microhttpd/daemon.c:577 | 111 | #: src/microhttpd/daemon.c:578 |
112 | msgid "Bad trust certificate format.\n" | 112 | msgid "Bad trust certificate format.\n" |
113 | msgstr "" | 113 | msgstr "" |
114 | 114 | ||
115 | #: src/microhttpd/daemon.c:602 | 115 | #: src/microhttpd/daemon.c:603 |
116 | msgid "Too long key or certificate.\n" | 116 | msgid "Too long key or certificate.\n" |
117 | msgstr "" | 117 | msgstr "" |
118 | 118 | ||
119 | #: src/microhttpd/daemon.c:623 | 119 | #: src/microhttpd/daemon.c:624 |
120 | msgid "" | 120 | msgid "" |
121 | "Failed to setup x509 certificate/key: pre 3.X.X version of GnuTLS does not " | 121 | "Failed to setup x509 certificate/key: pre 3.X.X version of GnuTLS does not " |
122 | "support setting key password.\n" | 122 | "support setting key password.\n" |
123 | msgstr "" | 123 | msgstr "" |
124 | 124 | ||
125 | #: src/microhttpd/daemon.c:637 | 125 | #: src/microhttpd/daemon.c:638 |
126 | #, c-format | 126 | #, c-format |
127 | msgid "GnuTLS failed to setup x509 certificate/key: %s\n" | 127 | msgid "GnuTLS failed to setup x509 certificate/key: %s\n" |
128 | msgstr "" | 128 | msgstr "" |
129 | 129 | ||
130 | #: src/microhttpd/daemon.c:652 | 130 | #: src/microhttpd/daemon.c:653 |
131 | msgid "You need to specify a certificate and key location.\n" | 131 | msgid "You need to specify a certificate and key location.\n" |
132 | msgstr "" | 132 | msgstr "" |
133 | 133 | ||
134 | #: src/microhttpd/daemon.c:682 | 134 | #: src/microhttpd/daemon.c:683 |
135 | #, c-format | 135 | #, c-format |
136 | msgid "Error: invalid credentials type %d specified.\n" | 136 | msgid "Error: invalid credentials type %d specified.\n" |
137 | msgstr "" | 137 | msgstr "" |
138 | 138 | ||
139 | #: src/microhttpd/daemon.c:1086 | 139 | #: src/microhttpd/daemon.c:1093 |
140 | #, c-format | 140 | #, c-format |
141 | msgid "Maximum socket in select set: %d\n" | 141 | msgid "Maximum socket in select set: %d\n" |
142 | msgstr "" | 142 | msgstr "" |
143 | 143 | ||
144 | #: src/microhttpd/daemon.c:1147 | 144 | #: src/microhttpd/daemon.c:1156 |
145 | msgid "" | 145 | msgid "" |
146 | "MHD_get_fdset2() called with except_fd_set set to NULL. Such behavior is " | 146 | "MHD_get_fdset2() called with except_fd_set set to NULL. Such behavior is " |
147 | "unsupported.\n" | 147 | "unsupported.\n" |
148 | msgstr "" | 148 | msgstr "" |
149 | 149 | ||
150 | #: src/microhttpd/daemon.c:1361 src/microhttpd/daemon.c:7387 | 150 | #: src/microhttpd/daemon.c:1373 src/microhttpd/daemon.c:7523 |
151 | msgid "" | 151 | msgid "" |
152 | "Initiated daemon shutdown while \"upgraded\" connection was not closed.\n" | 152 | "Initiated daemon shutdown while \"upgraded\" connection was not closed.\n" |
153 | msgstr "" | 153 | msgstr "" |
154 | 154 | ||
155 | #: src/microhttpd/daemon.c:1375 src/microhttpd/daemon.c:1613 | 155 | #: src/microhttpd/daemon.c:1387 |
156 | msgid "Failed to forward to application " | 156 | #, c-format |
157 | msgid "" | ||
158 | "Failed to forward to application %<PRIu64> bytes of data received from " | ||
159 | "remote side: application shut down socket.\n" | ||
160 | msgstr "" | ||
161 | |||
162 | #: src/microhttpd/daemon.c:1555 | ||
163 | #, c-format | ||
164 | msgid "" | ||
165 | "Failed to forward to remote client %<PRIu64> bytes of data received from " | ||
166 | "application: %s\n" | ||
167 | msgstr "" | ||
168 | |||
169 | #: src/microhttpd/daemon.c:1625 | ||
170 | #, c-format | ||
171 | msgid "" | ||
172 | "Failed to forward to application %<PRIu64> bytes of data received from " | ||
173 | "remote side: %s\n" | ||
157 | msgstr "" | 174 | msgstr "" |
158 | 175 | ||
159 | #: src/microhttpd/daemon.c:1543 src/microhttpd/daemon.c:1669 | 176 | #: src/microhttpd/daemon.c:1681 |
160 | msgid "Failed to forward to remote client " | 177 | #, c-format |
178 | msgid "" | ||
179 | "Failed to forward to remote client %<PRIu64> bytes of data received from " | ||
180 | "application: daemon shut down.\n" | ||
161 | msgstr "" | 181 | msgstr "" |
162 | 182 | ||
163 | #: src/microhttpd/daemon.c:1739 | 183 | #: src/microhttpd/daemon.c:1751 |
164 | msgid "Error preparing select.\n" | 184 | msgid "Error preparing select.\n" |
165 | msgstr "" | 185 | msgstr "" |
166 | 186 | ||
167 | #: src/microhttpd/daemon.c:1774 src/microhttpd/daemon.c:1929 | 187 | #: src/microhttpd/daemon.c:1786 src/microhttpd/daemon.c:1940 |
168 | #: src/microhttpd/daemon.c:2073 | 188 | #: src/microhttpd/daemon.c:2097 |
169 | #, c-format | 189 | #, c-format |
170 | msgid "Error during select (%d): `%s'\n" | 190 | msgid "Error during select (%d): `%s'\n" |
171 | msgstr "" | 191 | msgstr "" |
172 | 192 | ||
173 | #: src/microhttpd/daemon.c:1824 src/microhttpd/daemon.c:1950 | 193 | #: src/microhttpd/daemon.c:1836 src/microhttpd/daemon.c:1961 |
174 | #: src/microhttpd/daemon.c:2142 | 194 | #: src/microhttpd/daemon.c:2166 |
175 | #, c-format | 195 | #, c-format |
176 | msgid "Error during poll: `%s'\n" | 196 | msgid "Error during poll: `%s'\n" |
177 | msgstr "" | 197 | msgstr "" |
178 | 198 | ||
179 | #: src/microhttpd/daemon.c:1913 src/microhttpd/daemon.c:2055 | 199 | #: src/microhttpd/daemon.c:1924 src/microhttpd/daemon.c:2079 |
180 | msgid "Failed to add FD to fd_set.\n" | 200 | msgid "Failed to add FD to fd_set.\n" |
181 | msgstr "" | 201 | msgstr "" |
182 | 202 | ||
183 | #: src/microhttpd/daemon.c:2195 | 203 | #: src/microhttpd/daemon.c:2218 |
184 | msgid "Processing thread terminating. Closing connection.\n" | 204 | msgid "Processing thread terminating. Closing connection.\n" |
185 | msgstr "" | 205 | msgstr "" |
186 | 206 | ||
187 | #: src/microhttpd/daemon.c:2225 | 207 | #: src/microhttpd/daemon.c:2248 |
188 | msgid "" | 208 | msgid "" |
189 | "Failed to signal thread termination via inter-thread communication channel.\n" | 209 | "Failed to signal thread termination via inter-thread communication channel.\n" |
190 | msgstr "" | 210 | msgstr "" |
191 | 211 | ||
192 | #: src/microhttpd/daemon.c:2305 | 212 | #: src/microhttpd/daemon.c:2330 |
193 | msgid "Internal server error. This should be impossible.\n" | 213 | msgid "Internal server error. This should be impossible.\n" |
194 | msgstr "" | 214 | msgstr "" |
195 | 215 | ||
196 | #: src/microhttpd/daemon.c:2315 src/microhttpd/daemon.c:2353 | 216 | #: src/microhttpd/daemon.c:2340 src/microhttpd/daemon.c:2379 |
197 | msgid "PSK not supported by this server.\n" | 217 | msgid "PSK not supported by this server.\n" |
198 | msgstr "" | 218 | msgstr "" |
199 | 219 | ||
200 | #: src/microhttpd/daemon.c:2330 | 220 | #: src/microhttpd/daemon.c:2355 |
201 | msgid "PSK authentication failed: gnutls_malloc failed to allocate memory.\n" | 221 | msgid "PSK authentication failed: gnutls_malloc failed to allocate memory.\n" |
202 | msgstr "" | 222 | msgstr "" |
203 | 223 | ||
204 | #: src/microhttpd/daemon.c:2339 | 224 | #: src/microhttpd/daemon.c:2364 |
205 | msgid "PSK authentication failed: PSK too long.\n" | 225 | msgid "PSK authentication failed: PSK too long.\n" |
206 | msgstr "" | 226 | msgstr "" |
207 | 227 | ||
208 | #: src/microhttpd/daemon.c:2401 | 228 | #: src/microhttpd/daemon.c:2427 |
209 | #, c-format | 229 | #, c-format |
210 | msgid "Accepted connection on socket %d.\n" | 230 | msgid "Accepted connection on socket %d.\n" |
211 | msgstr "" | 231 | msgstr "" |
212 | 232 | ||
213 | #: src/microhttpd/daemon.c:2414 src/microhttpd/daemon.c:2745 | 233 | #: src/microhttpd/daemon.c:2440 src/microhttpd/daemon.c:2761 |
214 | msgid "Server reached connection limit. Closing inbound connection.\n" | 234 | msgid "Server reached connection limit. Closing inbound connection.\n" |
215 | msgstr "" | 235 | msgstr "" |
216 | 236 | ||
217 | #: src/microhttpd/daemon.c:2432 | 237 | #: src/microhttpd/daemon.c:2458 |
218 | msgid "Connection rejected by application. Closing connection.\n" | 238 | msgid "Connection rejected by application. Closing connection.\n" |
219 | msgstr "" | 239 | msgstr "" |
220 | 240 | ||
221 | #: src/microhttpd/daemon.c:2450 src/microhttpd/daemon.c:2478 | 241 | #: src/microhttpd/daemon.c:2476 src/microhttpd/daemon.c:2503 |
222 | #: src/microhttpd/daemon.c:2718 src/microhttpd/daemon.c:4310 | 242 | #: src/microhttpd/daemon.c:2745 src/microhttpd/daemon.c:4404 |
223 | #, c-format | 243 | #, c-format |
224 | msgid "Error allocating memory: %s\n" | 244 | msgid "Error allocating memory: %s\n" |
225 | msgstr "" | 245 | msgstr "" |
226 | 246 | ||
227 | #: src/microhttpd/daemon.c:2546 | 247 | #: src/microhttpd/daemon.c:2573 |
228 | msgid "Failed to initialise TLS session.\n" | 248 | msgid "Failed to initialise TLS session.\n" |
229 | msgstr "" | 249 | msgstr "" |
230 | 250 | ||
231 | #: src/microhttpd/daemon.c:2572 | 251 | #: src/microhttpd/daemon.c:2599 |
232 | msgid "Failed to set ALPN protocols.\n" | 252 | msgid "Failed to set ALPN protocols.\n" |
233 | msgstr "" | 253 | msgstr "" |
234 | 254 | ||
235 | #: src/microhttpd/daemon.c:2600 | 255 | #: src/microhttpd/daemon.c:2627 |
236 | #, c-format | 256 | #, c-format |
237 | msgid "Failed to setup TLS credentials: unknown credential type %d.\n" | 257 | msgid "Failed to setup TLS credentials: unknown credential type %d.\n" |
238 | msgstr "" | 258 | msgstr "" |
239 | 259 | ||
240 | #: src/microhttpd/daemon.c:2610 | 260 | #: src/microhttpd/daemon.c:2637 |
241 | msgid "Unknown credential type.\n" | 261 | msgid "Unknown credential type.\n" |
242 | msgstr "" | 262 | msgstr "" |
243 | 263 | ||
244 | #: src/microhttpd/daemon.c:2637 | 264 | #: src/microhttpd/daemon.c:2664 |
245 | msgid "TLS connection on non-TLS daemon.\n" | 265 | msgid "TLS connection on non-TLS daemon.\n" |
246 | msgstr "" | 266 | msgstr "" |
247 | 267 | ||
248 | #: src/microhttpd/daemon.c:2783 | 268 | #: src/microhttpd/daemon.c:2802 src/microhttpd/daemon.c:7180 |
269 | msgid "" | ||
270 | "Failed to create a new thread because it would have exceeded the system " | ||
271 | "limit on the number of threads or no system resources available.\n" | ||
272 | msgstr "" | ||
273 | |||
274 | #: src/microhttpd/daemon.c:2808 | ||
249 | #, c-format | 275 | #, c-format |
250 | msgid "Failed to create a thread: %s\n" | 276 | msgid "Failed to create a thread: %s\n" |
251 | msgstr "" | 277 | msgstr "" |
252 | 278 | ||
253 | #: src/microhttpd/daemon.c:2809 src/microhttpd/daemon.c:4821 | 279 | #: src/microhttpd/daemon.c:2840 src/microhttpd/daemon.c:4915 |
254 | #: src/microhttpd/daemon.c:4854 src/microhttpd/daemon.c:6208 | 280 | #: src/microhttpd/daemon.c:4948 src/microhttpd/daemon.c:6321 |
255 | #: src/microhttpd/daemon.c:6227 src/microhttpd/connection.c:3870 | 281 | #: src/microhttpd/daemon.c:6340 src/microhttpd/connection.c:4865 |
256 | #: src/microhttpd/response.c:1236 src/microhttpd/response.c:1262 | 282 | #: src/microhttpd/response.c:1787 src/microhttpd/response.c:1813 |
257 | #, c-format | 283 | #, c-format |
258 | msgid "Call to epoll_ctl failed: %s\n" | 284 | msgid "Call to epoll_ctl failed: %s\n" |
259 | msgstr "" | 285 | msgstr "" |
260 | 286 | ||
261 | #: src/microhttpd/daemon.c:2920 | 287 | #: src/microhttpd/daemon.c:2960 |
262 | #, c-format | 288 | #, c-format |
263 | msgid "" | 289 | msgid "" |
264 | "New connection socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" | 290 | "New connection socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" |
265 | msgstr "" | 291 | msgstr "" |
266 | 292 | ||
267 | #: src/microhttpd/daemon.c:2937 | 293 | #: src/microhttpd/daemon.c:2977 |
268 | msgid "Epoll mode supports only non-blocking sockets\n" | 294 | msgid "Epoll mode supports only non-blocking sockets\n" |
269 | msgstr "" | 295 | msgstr "" |
270 | 296 | ||
271 | #: src/microhttpd/daemon.c:2974 | 297 | #: src/microhttpd/daemon.c:3014 |
272 | msgid "" | 298 | msgid "" |
273 | "Failed to signal new connection via inter-thread communication channel.\n" | 299 | "Failed to signal new connection via inter-thread communication channel.\n" |
274 | msgstr "" | 300 | msgstr "" |
275 | 301 | ||
276 | #: src/microhttpd/daemon.c:3019 | 302 | #: src/microhttpd/daemon.c:3059 |
277 | msgid "Failed to start serving new connection.\n" | 303 | msgid "Failed to start serving new connection.\n" |
278 | msgstr "" | 304 | msgstr "" |
279 | 305 | ||
280 | #: src/microhttpd/daemon.c:3092 src/microhttpd/daemon.c:3745 | 306 | #: src/microhttpd/daemon.c:3133 src/microhttpd/daemon.c:3803 |
281 | #: src/microhttpd/daemon.c:7254 src/microhttpd/connection.c:759 | 307 | #: src/microhttpd/daemon.c:7390 src/microhttpd/connection.c:899 |
282 | #: src/microhttpd/connection.c:778 | 308 | #: src/microhttpd/connection.c:918 |
283 | msgid "Failed to remove FD from epoll set.\n" | 309 | msgid "Failed to remove FD from epoll set.\n" |
284 | msgstr "" | 310 | msgstr "" |
285 | 311 | ||
286 | #: src/microhttpd/daemon.c:3148 | 312 | #: src/microhttpd/daemon.c:3191 |
287 | msgid "Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" | 313 | msgid "Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" |
288 | msgstr "" | 314 | msgstr "" |
289 | 315 | ||
290 | #: src/microhttpd/daemon.c:3155 | 316 | #: src/microhttpd/daemon.c:3198 |
291 | msgid "Error: connection scheduled for \"upgrade\" cannot be suspended.\n" | 317 | msgid "Error: connection scheduled for \"upgrade\" cannot be suspended.\n" |
292 | msgstr "" | 318 | msgstr "" |
293 | 319 | ||
294 | #: src/microhttpd/daemon.c:3179 | 320 | #: src/microhttpd/daemon.c:3222 |
295 | msgid "Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" | 321 | msgid "Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" |
296 | msgstr "" | 322 | msgstr "" |
297 | 323 | ||
298 | #: src/microhttpd/daemon.c:3194 | 324 | #: src/microhttpd/daemon.c:3237 |
299 | msgid "Failed to signal resume via inter-thread communication channel.\n" | 325 | msgid "Failed to signal resume via inter-thread communication channel.\n" |
300 | msgstr "" | 326 | msgstr "" |
301 | 327 | ||
302 | #: src/microhttpd/daemon.c:3334 | 328 | #: src/microhttpd/daemon.c:3377 |
303 | msgid "" | 329 | msgid "" |
304 | "Failed to signal resume of connection via inter-thread communication " | 330 | "Failed to signal resume of connection via inter-thread communication " |
305 | "channel.\n" | 331 | "channel.\n" |
306 | msgstr "" | 332 | msgstr "" |
307 | 333 | ||
308 | #: src/microhttpd/daemon.c:3388 | 334 | #: src/microhttpd/daemon.c:3431 |
309 | msgid "" | 335 | msgid "" |
310 | "MHD_add_connection() has been called for daemon started without MHD_USE_ITC " | 336 | "MHD_add_connection() has been called for daemon started without MHD_USE_ITC " |
311 | "flag.\n" | 337 | "flag.\n" |
@@ -313,628 +339,690 @@ msgid "" | |||
313 | "already added sockets.\n" | 339 | "already added sockets.\n" |
314 | msgstr "" | 340 | msgstr "" |
315 | 341 | ||
316 | #: src/microhttpd/daemon.c:3399 | 342 | #: src/microhttpd/daemon.c:3442 |
317 | #, c-format | 343 | #, c-format |
318 | msgid "Failed to set nonblocking mode on new client socket: %s\n" | 344 | msgid "Failed to set nonblocking mode on new client socket: %s\n" |
319 | msgstr "" | 345 | msgstr "" |
320 | 346 | ||
321 | #: src/microhttpd/daemon.c:3418 | 347 | #: src/microhttpd/daemon.c:3461 |
322 | #, c-format | 348 | #, c-format |
323 | msgid "Failed to suppress SIGPIPE on new client socket: %s\n" | 349 | msgid "Failed to suppress SIGPIPE on new client socket: %s\n" |
324 | msgstr "" | 350 | msgstr "" |
325 | 351 | ||
326 | #: src/microhttpd/daemon.c:3444 | 352 | #: src/microhttpd/daemon.c:3487 |
327 | msgid "Failed to set noninheritable mode on new client socket.\n" | 353 | msgid "Failed to set noninheritable mode on new client socket.\n" |
328 | msgstr "" | 354 | msgstr "" |
329 | 355 | ||
330 | #: src/microhttpd/daemon.c:3567 | 356 | #: src/microhttpd/daemon.c:3617 |
331 | #, c-format | 357 | #, c-format |
332 | msgid "Error accepting connection: %s\n" | 358 | msgid "Error accepting connection: %s\n" |
333 | msgstr "" | 359 | msgstr "" |
334 | 360 | ||
335 | #: src/microhttpd/daemon.c:3585 | 361 | #: src/microhttpd/daemon.c:3634 |
336 | msgid "" | 362 | msgid "" |
337 | "Hit process or system resource limit at FIRST connection. This is really bad " | 363 | "Hit process or system resource limit at FIRST connection. This is really bad " |
338 | "as there is no sane way to proceed. Will try busy waiting for system " | 364 | "as there is no sane way to proceed. Will try busy waiting for system " |
339 | "resources to become magically available.\n" | 365 | "resources to become magically available.\n" |
340 | msgstr "" | 366 | msgstr "" |
341 | 367 | ||
342 | #: src/microhttpd/daemon.c:3600 | 368 | #: src/microhttpd/daemon.c:3651 |
343 | #, c-format | 369 | #, c-format |
344 | msgid "" | 370 | msgid "" |
345 | "Hit process or system resource limit at %u connections, temporarily " | 371 | "Hit process or system resource limit at %u connections, temporarily " |
346 | "suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n" | 372 | "suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n" |
347 | msgstr "" | 373 | msgstr "" |
348 | 374 | ||
349 | #: src/microhttpd/daemon.c:3613 | 375 | #: src/microhttpd/daemon.c:3665 |
350 | #, c-format | 376 | #, c-format |
351 | msgid "Failed to set nonblocking mode on incoming connection socket: %s\n" | 377 | msgid "Failed to set nonblocking mode on incoming connection socket: %s\n" |
352 | msgstr "" | 378 | msgstr "" |
353 | 379 | ||
354 | #: src/microhttpd/daemon.c:3626 | 380 | #: src/microhttpd/daemon.c:3679 |
355 | msgid "Failed to set noninheritable mode on incoming connection socket.\n" | 381 | msgid "Failed to set noninheritable mode on incoming connection socket.\n" |
356 | msgstr "" | 382 | msgstr "" |
357 | 383 | ||
358 | #: src/microhttpd/daemon.c:3636 | 384 | #: src/microhttpd/daemon.c:3691 |
359 | #, c-format | 385 | #, c-format |
360 | msgid "Failed to suppress SIGPIPE on incoming connection socket: %s\n" | 386 | msgid "Failed to suppress SIGPIPE on incoming connection socket: %s\n" |
361 | msgstr "" | 387 | msgstr "" |
362 | 388 | ||
363 | #: src/microhttpd/daemon.c:3657 | 389 | #: src/microhttpd/daemon.c:3713 |
364 | #, c-format | 390 | #, c-format |
365 | msgid "Accepted connection on socket %d\n" | 391 | msgid "Accepted connection on socket %d\n" |
366 | msgstr "" | 392 | msgstr "" |
367 | 393 | ||
368 | #: src/microhttpd/daemon.c:3702 src/microhttpd/daemon.c:7428 | 394 | #: src/microhttpd/daemon.c:3758 src/microhttpd/daemon.c:7564 |
369 | #: src/microhttpd/daemon.c:7460 src/microhttpd/daemon.c:7493 | 395 | #: src/microhttpd/daemon.c:7596 src/microhttpd/daemon.c:7629 |
370 | #: src/microhttpd/daemon.c:7599 | 396 | #: src/microhttpd/daemon.c:7735 |
371 | msgid "Failed to join a thread.\n" | 397 | msgid "Failed to join a thread.\n" |
372 | msgstr "" | 398 | msgstr "" |
373 | 399 | ||
374 | #: src/microhttpd/daemon.c:3811 | 400 | #: src/microhttpd/daemon.c:3882 |
375 | msgid "Illegal call to MHD_get_timeout.\n" | 401 | msgid "Illegal call to MHD_get_timeout.\n" |
376 | msgstr "" | 402 | msgstr "" |
377 | 403 | ||
378 | #: src/microhttpd/daemon.c:4039 | 404 | #: src/microhttpd/daemon.c:4133 |
379 | msgid "" | 405 | msgid "" |
380 | "MHD_run_from_select() called with except_fd_set set to NULL. Such behavior " | 406 | "MHD_run_from_select() called with except_fd_set set to NULL. Such behavior " |
381 | "is deprecated.\n" | 407 | "is deprecated.\n" |
382 | msgstr "" | 408 | msgstr "" |
383 | 409 | ||
384 | #: src/microhttpd/daemon.c:4120 | 410 | #: src/microhttpd/daemon.c:4214 |
385 | msgid "Could not obtain daemon fdsets.\n" | 411 | msgid "Could not obtain daemon fdsets.\n" |
386 | msgstr "" | 412 | msgstr "" |
387 | 413 | ||
388 | #: src/microhttpd/daemon.c:4137 | 414 | #: src/microhttpd/daemon.c:4231 |
389 | msgid "Could not add listen socket to fdset.\n" | 415 | msgid "Could not add listen socket to fdset.\n" |
390 | msgstr "" | 416 | msgstr "" |
391 | 417 | ||
392 | #: src/microhttpd/daemon.c:4166 | 418 | #: src/microhttpd/daemon.c:4260 |
393 | msgid "Could not add control inter-thread communication channel FD to fdset.\n" | 419 | msgid "Could not add control inter-thread communication channel FD to fdset.\n" |
394 | msgstr "" | 420 | msgstr "" |
395 | 421 | ||
396 | #: src/microhttpd/daemon.c:4246 | 422 | #: src/microhttpd/daemon.c:4340 |
397 | #, c-format | 423 | #, c-format |
398 | msgid "select failed: %s\n" | 424 | msgid "select failed: %s\n" |
399 | msgstr "" | 425 | msgstr "" |
400 | 426 | ||
401 | #: src/microhttpd/daemon.c:4386 src/microhttpd/daemon.c:4540 | 427 | #: src/microhttpd/daemon.c:4480 src/microhttpd/daemon.c:4634 |
402 | #, c-format | 428 | #, c-format |
403 | msgid "poll failed: %s\n" | 429 | msgid "poll failed: %s\n" |
404 | msgstr "" | 430 | msgstr "" |
405 | 431 | ||
406 | #: src/microhttpd/daemon.c:4683 src/microhttpd/daemon.c:4908 | 432 | #: src/microhttpd/daemon.c:4777 src/microhttpd/daemon.c:5002 |
407 | #, c-format | 433 | #, c-format |
408 | msgid "Call to epoll_wait failed: %s\n" | 434 | msgid "Call to epoll_wait failed: %s\n" |
409 | msgstr "" | 435 | msgstr "" |
410 | 436 | ||
411 | #: src/microhttpd/daemon.c:4873 src/microhttpd/daemon.c:5410 | 437 | #: src/microhttpd/daemon.c:4967 src/microhttpd/daemon.c:5522 |
412 | msgid "Failed to remove listen FD from epoll set.\n" | 438 | msgid "Failed to remove listen FD from epoll set.\n" |
413 | msgstr "" | 439 | msgstr "" |
414 | 440 | ||
415 | #: src/microhttpd/daemon.c:5255 | 441 | #: src/microhttpd/daemon.c:5367 |
416 | #, c-format | 442 | #, c-format |
417 | msgid "Failed to block SIGPIPE on daemon thread: %s\n" | 443 | msgid "Failed to block SIGPIPE on daemon thread: %s\n" |
418 | msgstr "" | 444 | msgstr "" |
419 | 445 | ||
420 | #: src/microhttpd/daemon.c:5391 | 446 | #: src/microhttpd/daemon.c:5503 |
421 | msgid "Using MHD_quiesce_daemon in this mode requires MHD_USE_ITC.\n" | 447 | msgid "Using MHD_quiesce_daemon in this mode requires MHD_USE_ITC.\n" |
422 | msgstr "" | 448 | msgstr "" |
423 | 449 | ||
424 | #: src/microhttpd/daemon.c:5419 | 450 | #: src/microhttpd/daemon.c:5531 |
425 | msgid "Failed to signal quiesce via inter-thread communication channel.\n" | 451 | msgid "Failed to signal quiesce via inter-thread communication channel.\n" |
426 | msgstr "" | 452 | msgstr "" |
427 | 453 | ||
428 | #: src/microhttpd/daemon.c:5442 | 454 | #: src/microhttpd/daemon.c:5554 |
429 | msgid "failed to signal quiesce via inter-thread communication channel.\n" | 455 | msgid "failed to signal quiesce via inter-thread communication channel.\n" |
430 | msgstr "" | 456 | msgstr "" |
431 | 457 | ||
432 | #: src/microhttpd/daemon.c:5559 | 458 | #: src/microhttpd/daemon.c:5666 src/microhttpd/connection.c:5005 |
433 | msgid "Warning: Too large timeout value, ignored.\n" | 459 | #, c-format |
460 | msgid "" | ||
461 | "The specified connection timeout (%u) is too large. Maximum allowed value " | ||
462 | "(%<PRIu64>) will be used instead.\n" | ||
434 | msgstr "" | 463 | msgstr "" |
435 | 464 | ||
436 | #: src/microhttpd/daemon.c:5604 | 465 | #: src/microhttpd/daemon.c:5717 |
437 | msgid "" | 466 | msgid "" |
438 | "Warning: Zero size, specified for thread pool size, is ignored. Thread pool " | 467 | "Warning: Zero size, specified for thread pool size, is ignored. Thread pool " |
439 | "is not used.\n" | 468 | "is not used.\n" |
440 | msgstr "" | 469 | msgstr "" |
441 | 470 | ||
442 | #: src/microhttpd/daemon.c:5613 | 471 | #: src/microhttpd/daemon.c:5726 |
443 | msgid "" | 472 | msgid "" |
444 | "Warning: \"1\", specified for thread pool size, is ignored. Thread pool is " | 473 | "Warning: \"1\", specified for thread pool size, is ignored. Thread pool is " |
445 | "not used.\n" | 474 | "not used.\n" |
446 | msgstr "" | 475 | msgstr "" |
447 | 476 | ||
448 | #: src/microhttpd/daemon.c:5627 | 477 | #: src/microhttpd/daemon.c:5740 |
449 | #, c-format | 478 | #, c-format |
450 | msgid "Specified thread pool size (%u) too big.\n" | 479 | msgid "Specified thread pool size (%u) too big.\n" |
451 | msgstr "" | 480 | msgstr "" |
452 | 481 | ||
453 | #: src/microhttpd/daemon.c:5639 | 482 | #: src/microhttpd/daemon.c:5752 |
454 | msgid "" | 483 | msgid "" |
455 | "MHD_OPTION_THREAD_POOL_SIZE option is specified but " | 484 | "MHD_OPTION_THREAD_POOL_SIZE option is specified but " |
456 | "MHD_USE_INTERNAL_POLLING_THREAD flag is not specified.\n" | 485 | "MHD_USE_INTERNAL_POLLING_THREAD flag is not specified.\n" |
457 | msgstr "" | 486 | msgstr "" |
458 | 487 | ||
459 | #: src/microhttpd/daemon.c:5648 | 488 | #: src/microhttpd/daemon.c:5761 |
460 | msgid "" | 489 | msgid "" |
461 | "Both MHD_OPTION_THREAD_POOL_SIZE option and MHD_USE_THREAD_PER_CONNECTION " | 490 | "Both MHD_OPTION_THREAD_POOL_SIZE option and MHD_USE_THREAD_PER_CONNECTION " |
462 | "flag are specified.\n" | 491 | "flag are specified.\n" |
463 | msgstr "" | 492 | msgstr "" |
464 | 493 | ||
465 | #: src/microhttpd/daemon.c:5666 src/microhttpd/daemon.c:5679 | 494 | #: src/microhttpd/daemon.c:5779 src/microhttpd/daemon.c:5792 |
466 | #: src/microhttpd/daemon.c:5692 src/microhttpd/daemon.c:5705 | 495 | #: src/microhttpd/daemon.c:5805 src/microhttpd/daemon.c:5818 |
467 | #: src/microhttpd/daemon.c:5757 src/microhttpd/daemon.c:5786 | 496 | #: src/microhttpd/daemon.c:5870 src/microhttpd/daemon.c:5899 |
468 | #: src/microhttpd/daemon.c:5807 src/microhttpd/daemon.c:5829 | 497 | #: src/microhttpd/daemon.c:5920 src/microhttpd/daemon.c:5942 |
469 | #: src/microhttpd/daemon.c:6097 | 498 | #: src/microhttpd/daemon.c:6210 |
470 | #, c-format | 499 | #, c-format |
471 | msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set.\n" | 500 | msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set.\n" |
472 | msgstr "" | 501 | msgstr "" |
473 | 502 | ||
474 | #: src/microhttpd/daemon.c:5725 | 503 | #: src/microhttpd/daemon.c:5838 |
475 | msgid "Error initializing DH parameters.\n" | 504 | msgid "Error initializing DH parameters.\n" |
476 | msgstr "" | 505 | msgstr "" |
477 | 506 | ||
478 | #: src/microhttpd/daemon.c:5735 | 507 | #: src/microhttpd/daemon.c:5848 |
479 | msgid "Diffie-Hellman parameters string too long.\n" | 508 | msgid "Diffie-Hellman parameters string too long.\n" |
480 | msgstr "" | 509 | msgstr "" |
481 | 510 | ||
482 | #: src/microhttpd/daemon.c:5746 | 511 | #: src/microhttpd/daemon.c:5859 |
483 | msgid "Bad Diffie-Hellman parameters format.\n" | 512 | msgid "Bad Diffie-Hellman parameters format.\n" |
484 | msgstr "" | 513 | msgstr "" |
485 | 514 | ||
486 | #: src/microhttpd/daemon.c:5774 | 515 | #: src/microhttpd/daemon.c:5887 |
487 | #, c-format | 516 | #, c-format |
488 | msgid "Setting priorities to `%s' failed: %s\n" | 517 | msgid "Setting priorities to `%s' failed: %s\n" |
489 | msgstr "" | 518 | msgstr "" |
490 | 519 | ||
491 | #: src/microhttpd/daemon.c:5795 | 520 | #: src/microhttpd/daemon.c:5908 |
492 | msgid "" | 521 | msgid "" |
493 | "MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0.\n" | 522 | "MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0.\n" |
494 | msgstr "" | 523 | msgstr "" |
495 | 524 | ||
496 | #: src/microhttpd/daemon.c:5817 | 525 | #: src/microhttpd/daemon.c:5930 |
497 | msgid "" | 526 | msgid "" |
498 | "MHD_OPTION_HTTPS_CERT_CALLBACK2 requires building MHD with GnuTLS >= 3.6.3.\n" | 527 | "MHD_OPTION_HTTPS_CERT_CALLBACK2 requires building MHD with GnuTLS >= 3.6.3.\n" |
499 | msgstr "" | 528 | msgstr "" |
500 | 529 | ||
501 | #: src/microhttpd/daemon.c:5852 | 530 | #: src/microhttpd/daemon.c:5965 |
502 | msgid "" | 531 | msgid "" |
503 | "MHD_OPTION_LISTEN_SOCKET specified for daemon with MHD_USE_NO_LISTEN_SOCKET " | 532 | "MHD_OPTION_LISTEN_SOCKET specified for daemon with MHD_USE_NO_LISTEN_SOCKET " |
504 | "flag set.\n" | 533 | "flag set.\n" |
505 | msgstr "" | 534 | msgstr "" |
506 | 535 | ||
507 | #: src/microhttpd/daemon.c:5890 | 536 | #: src/microhttpd/daemon.c:6003 |
508 | msgid "" | 537 | msgid "" |
509 | "MHD_OPTION_EXTERNAL_LOGGER is not the first option specified for the daemon. " | 538 | "MHD_OPTION_EXTERNAL_LOGGER is not the first option specified for the daemon. " |
510 | "Some messages may be printed by the standard MHD logger.\n" | 539 | "Some messages may be printed by the standard MHD logger.\n" |
511 | msgstr "" | 540 | msgstr "" |
512 | 541 | ||
513 | #: src/microhttpd/daemon.c:5915 | 542 | #: src/microhttpd/daemon.c:6028 |
514 | msgid "TCP fastopen is not supported on this platform.\n" | 543 | msgid "TCP fastopen is not supported on this platform.\n" |
515 | msgstr "" | 544 | msgstr "" |
516 | 545 | ||
517 | #: src/microhttpd/daemon.c:5934 | 546 | #: src/microhttpd/daemon.c:6047 |
518 | msgid "" | 547 | msgid "" |
519 | "Flag MHD_USE_PEDANTIC_CHECKS is ignored because another behavior is " | 548 | "Flag MHD_USE_PEDANTIC_CHECKS is ignored because another behavior is " |
520 | "specified by MHD_OPTION_STRICT_CLIENT.\n" | 549 | "specified by MHD_OPTION_STRICT_CLIENT.\n" |
521 | msgstr "" | 550 | msgstr "" |
522 | 551 | ||
523 | #: src/microhttpd/daemon.c:6072 | 552 | #: src/microhttpd/daemon.c:6185 |
524 | #, c-format | 553 | #, c-format |
525 | msgid "MHD HTTPS option %d passed to MHD compiled without GNUtls >= 3.\n" | 554 | msgid "MHD HTTPS option %d passed to MHD compiled without GNUtls >= 3.\n" |
526 | msgstr "" | 555 | msgstr "" |
527 | 556 | ||
528 | #: src/microhttpd/daemon.c:6111 | 557 | #: src/microhttpd/daemon.c:6224 |
529 | #, c-format | 558 | #, c-format |
530 | msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support.\n" | 559 | msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support.\n" |
531 | msgstr "" | 560 | msgstr "" |
532 | 561 | ||
533 | #: src/microhttpd/daemon.c:6118 | 562 | #: src/microhttpd/daemon.c:6231 |
534 | #, c-format | 563 | #, c-format |
535 | msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?).\n" | 564 | msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?).\n" |
536 | msgstr "" | 565 | msgstr "" |
537 | 566 | ||
538 | #: src/microhttpd/daemon.c:6148 | 567 | #: src/microhttpd/daemon.c:6261 |
539 | #, c-format | 568 | #, c-format |
540 | msgid "Call to epoll_create1 failed: %s\n" | 569 | msgid "Call to epoll_create1 failed: %s\n" |
541 | msgstr "" | 570 | msgstr "" |
542 | 571 | ||
543 | #: src/microhttpd/daemon.c:6158 | 572 | #: src/microhttpd/daemon.c:6271 |
544 | msgid "Failed to set noninheritable mode on epoll FD.\n" | 573 | msgid "Failed to set noninheritable mode on epoll FD.\n" |
545 | msgstr "" | 574 | msgstr "" |
546 | 575 | ||
547 | #: src/microhttpd/daemon.c:6465 | 576 | #: src/microhttpd/daemon.c:6578 |
548 | msgid "" | 577 | msgid "" |
549 | "Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with " | 578 | "Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with " |
550 | "MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was " | 579 | "MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was " |
551 | "added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.\n" | 580 | "added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.\n" |
552 | msgstr "" | 581 | msgstr "" |
553 | 582 | ||
554 | #: src/microhttpd/daemon.c:6478 | 583 | #: src/microhttpd/daemon.c:6591 |
555 | msgid "Using debug build of libmicrohttpd.\n" | 584 | msgid "Using debug build of libmicrohttpd.\n" |
556 | msgstr "" | 585 | msgstr "" |
557 | 586 | ||
558 | #: src/microhttpd/daemon.c:6492 | 587 | #: src/microhttpd/daemon.c:6605 |
559 | #, c-format | 588 | #, c-format |
560 | msgid "Failed to create inter-thread communication channel: %s\n" | 589 | msgid "Failed to create inter-thread communication channel: %s\n" |
561 | msgstr "" | 590 | msgstr "" |
562 | 591 | ||
563 | #: src/microhttpd/daemon.c:6509 | 592 | #: src/microhttpd/daemon.c:6622 |
564 | msgid "" | 593 | msgid "" |
565 | "file descriptor for inter-thread communication channel exceeds maximum " | 594 | "file descriptor for inter-thread communication channel exceeds maximum " |
566 | "value.\n" | 595 | "value.\n" |
567 | msgstr "" | 596 | msgstr "" |
568 | 597 | ||
569 | #: src/microhttpd/daemon.c:6529 | 598 | #: src/microhttpd/daemon.c:6642 |
570 | msgid "Specified value for NC_SIZE too large.\n" | 599 | msgid "Specified value for NC_SIZE too large.\n" |
571 | msgstr "" | 600 | msgstr "" |
572 | 601 | ||
573 | #: src/microhttpd/daemon.c:6543 | 602 | #: src/microhttpd/daemon.c:6656 |
574 | #, c-format | 603 | #, c-format |
575 | msgid "Failed to allocate memory for nonce-nc map: %s\n" | 604 | msgid "Failed to allocate memory for nonce-nc map: %s\n" |
576 | msgstr "" | 605 | msgstr "" |
577 | 606 | ||
578 | #: src/microhttpd/daemon.c:6560 | 607 | #: src/microhttpd/daemon.c:6673 |
579 | msgid "MHD failed to initialize nonce-nc mutex.\n" | 608 | msgid "MHD failed to initialize nonce-nc mutex.\n" |
580 | msgstr "" | 609 | msgstr "" |
581 | 610 | ||
582 | #: src/microhttpd/daemon.c:6581 | 611 | #: src/microhttpd/daemon.c:6694 |
583 | msgid "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD.\n" | 612 | msgid "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD.\n" |
584 | msgstr "" | 613 | msgstr "" |
585 | 614 | ||
586 | #: src/microhttpd/daemon.c:6605 | 615 | #: src/microhttpd/daemon.c:6718 |
587 | #, c-format | 616 | #, c-format |
588 | msgid "Failed to create socket for listening: %s\n" | 617 | msgid "Failed to create socket for listening: %s\n" |
589 | msgstr "" | 618 | msgstr "" |
590 | 619 | ||
591 | #: src/microhttpd/daemon.c:6626 src/microhttpd/daemon.c:6645 | 620 | #: src/microhttpd/daemon.c:6739 src/microhttpd/daemon.c:6758 |
592 | #: src/microhttpd/daemon.c:6668 src/microhttpd/daemon.c:6706 | 621 | #: src/microhttpd/daemon.c:6781 src/microhttpd/daemon.c:6819 |
593 | #: src/microhttpd/daemon.c:6783 src/microhttpd/daemon.c:6814 | 622 | #: src/microhttpd/daemon.c:6896 src/microhttpd/daemon.c:6927 |
594 | #, c-format | 623 | #, c-format |
595 | msgid "setsockopt failed: %s\n" | 624 | msgid "setsockopt failed: %s\n" |
596 | msgstr "" | 625 | msgstr "" |
597 | 626 | ||
598 | #: src/microhttpd/daemon.c:6679 | 627 | #: src/microhttpd/daemon.c:6792 |
599 | msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined.\n" | 628 | msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined.\n" |
600 | msgstr "" | 629 | msgstr "" |
601 | 630 | ||
602 | #: src/microhttpd/daemon.c:6715 | 631 | #: src/microhttpd/daemon.c:6828 |
603 | msgid "" | 632 | msgid "" |
604 | "Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined.\n" | 633 | "Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined.\n" |
605 | msgstr "" | 634 | msgstr "" |
606 | 635 | ||
607 | #: src/microhttpd/daemon.c:6794 | 636 | #: src/microhttpd/daemon.c:6907 |
608 | #, c-format | 637 | #, c-format |
609 | msgid "Failed to bind to port %u: %s\n" | 638 | msgid "Failed to bind to port %u: %s\n" |
610 | msgstr "" | 639 | msgstr "" |
611 | 640 | ||
612 | #: src/microhttpd/daemon.c:6825 | 641 | #: src/microhttpd/daemon.c:6938 |
613 | #, c-format | 642 | #, c-format |
614 | msgid "Failed to listen for connections: %s\n" | 643 | msgid "Failed to listen for connections: %s\n" |
615 | msgstr "" | 644 | msgstr "" |
616 | 645 | ||
617 | #: src/microhttpd/daemon.c:6856 | 646 | #: src/microhttpd/daemon.c:6969 |
618 | #, c-format | 647 | #, c-format |
619 | msgid "Failed to get listen port number: %s\n" | 648 | msgid "Failed to get listen port number: %s\n" |
620 | msgstr "" | 649 | msgstr "" |
621 | 650 | ||
622 | #: src/microhttpd/daemon.c:6867 | 651 | #: src/microhttpd/daemon.c:6980 |
623 | msgid "" | 652 | msgid "" |
624 | "Failed to get listen port number (`struct sockaddr_storage` too small!?).\n" | 653 | "Failed to get listen port number (`struct sockaddr_storage` too small!?).\n" |
625 | msgstr "" | 654 | msgstr "" |
626 | 655 | ||
627 | #: src/microhttpd/daemon.c:6908 | 656 | #: src/microhttpd/daemon.c:7021 |
628 | msgid "Unknown address family!\n" | 657 | msgid "Unknown address family!\n" |
629 | msgstr "" | 658 | msgstr "" |
630 | 659 | ||
631 | #: src/microhttpd/daemon.c:6921 | 660 | #: src/microhttpd/daemon.c:7036 |
632 | #, c-format | 661 | #, c-format |
633 | msgid "Failed to set nonblocking mode on listening socket: %s\n" | 662 | msgid "Failed to set nonblocking mode on listening socket: %s\n" |
634 | msgstr "" | 663 | msgstr "" |
635 | 664 | ||
636 | #: src/microhttpd/daemon.c:6944 | 665 | #: src/microhttpd/daemon.c:7061 |
637 | #, c-format | 666 | #, c-format |
638 | msgid "Listen socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" | 667 | msgid "Listen socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" |
639 | msgstr "" | 668 | msgstr "" |
640 | 669 | ||
641 | #: src/microhttpd/daemon.c:6965 | 670 | #: src/microhttpd/daemon.c:7085 |
642 | msgid "" | 671 | msgid "" |
643 | "Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n" | 672 | "Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n" |
644 | msgstr "" | 673 | msgstr "" |
645 | 674 | ||
646 | #: src/microhttpd/daemon.c:6979 src/microhttpd/daemon.c:6989 | 675 | #: src/microhttpd/daemon.c:7099 src/microhttpd/daemon.c:7109 |
647 | msgid "MHD failed to initialize IP connection limit mutex.\n" | 676 | msgid "MHD failed to initialize IP connection limit mutex.\n" |
648 | msgstr "" | 677 | msgstr "" |
649 | 678 | ||
650 | #: src/microhttpd/daemon.c:7007 | 679 | #: src/microhttpd/daemon.c:7127 |
651 | msgid "Failed to initialize TLS support.\n" | 680 | msgid "Failed to initialize TLS support.\n" |
652 | msgstr "" | 681 | msgstr "" |
653 | 682 | ||
654 | #: src/microhttpd/daemon.c:7040 src/microhttpd/daemon.c:7105 | 683 | #: src/microhttpd/daemon.c:7160 src/microhttpd/daemon.c:7233 |
655 | #: src/microhttpd/daemon.c:7204 | 684 | #: src/microhttpd/daemon.c:7340 |
656 | msgid "Failed to initialise mutex.\n" | 685 | msgid "Failed to initialise mutex.\n" |
657 | msgstr "" | 686 | msgstr "" |
658 | 687 | ||
659 | #: src/microhttpd/daemon.c:7058 | 688 | #: src/microhttpd/daemon.c:7186 |
660 | #, c-format | 689 | #, c-format |
661 | msgid "Failed to create listen thread: %s\n" | 690 | msgid "Failed to create listen thread: %s\n" |
662 | msgstr "" | 691 | msgstr "" |
663 | 692 | ||
664 | #: src/microhttpd/daemon.c:7116 | 693 | #: src/microhttpd/daemon.c:7244 |
665 | #, c-format | 694 | #, c-format |
666 | msgid "Failed to create worker inter-thread communication channel: %s\n" | 695 | msgid "Failed to create worker inter-thread communication channel: %s\n" |
667 | msgstr "" | 696 | msgstr "" |
668 | 697 | ||
669 | #: src/microhttpd/daemon.c:7129 | 698 | #: src/microhttpd/daemon.c:7257 |
670 | msgid "" | 699 | msgid "" |
671 | "File descriptor for worker inter-thread communication channel exceeds " | 700 | "File descriptor for worker inter-thread communication channel exceeds " |
672 | "maximum value.\n" | 701 | "maximum value.\n" |
673 | msgstr "" | 702 | msgstr "" |
674 | 703 | ||
675 | #: src/microhttpd/daemon.c:7167 | 704 | #: src/microhttpd/daemon.c:7295 |
676 | msgid "MHD failed to initialize cleanup connection mutex.\n" | 705 | msgid "MHD failed to initialize cleanup connection mutex.\n" |
677 | msgstr "" | 706 | msgstr "" |
678 | 707 | ||
679 | #: src/microhttpd/daemon.c:7184 | 708 | #: src/microhttpd/daemon.c:7314 |
709 | msgid "" | ||
710 | "Failed to create a new pool thread because it would have exceeded the system " | ||
711 | "limit on the number of threads or no system resources available.\n" | ||
712 | msgstr "" | ||
713 | |||
714 | #: src/microhttpd/daemon.c:7320 | ||
680 | #, c-format | 715 | #, c-format |
681 | msgid "Failed to create pool thread: %s\n" | 716 | msgid "Failed to create pool thread: %s\n" |
682 | msgstr "" | 717 | msgstr "" |
683 | 718 | ||
684 | #: src/microhttpd/daemon.c:7373 src/microhttpd/daemon.c:7406 | 719 | #: src/microhttpd/daemon.c:7509 src/microhttpd/daemon.c:7542 |
685 | msgid "MHD_stop_daemon() called while we have suspended connections.\n" | 720 | msgid "MHD_stop_daemon() called while we have suspended connections.\n" |
686 | msgstr "" | 721 | msgstr "" |
687 | 722 | ||
688 | #: src/microhttpd/daemon.c:7445 src/microhttpd/daemon.c:7543 | 723 | #: src/microhttpd/daemon.c:7581 src/microhttpd/daemon.c:7679 |
689 | #: src/microhttpd/daemon.c:7581 | 724 | #: src/microhttpd/daemon.c:7717 |
690 | msgid "Failed to signal shutdown via inter-thread communication channel.\n" | 725 | msgid "Failed to signal shutdown via inter-thread communication channel.\n" |
691 | msgstr "" | 726 | msgstr "" |
692 | 727 | ||
693 | #: src/microhttpd/daemon.c:7518 | 728 | #: src/microhttpd/daemon.c:7654 |
694 | msgid "MHD_stop_daemon() was called twice." | 729 | msgid "MHD_stop_daemon() was called twice." |
695 | msgstr "" | 730 | msgstr "" |
696 | 731 | ||
697 | #: src/microhttpd/daemon.c:8031 | 732 | #: src/microhttpd/daemon.c:8167 |
698 | msgid "Failed to initialize winsock.\n" | 733 | msgid "Failed to initialize winsock.\n" |
699 | msgstr "" | 734 | msgstr "" |
700 | 735 | ||
701 | #: src/microhttpd/daemon.c:8034 | 736 | #: src/microhttpd/daemon.c:8170 |
702 | msgid "Winsock version 2.2 is not available.\n" | 737 | msgid "Winsock version 2.2 is not available.\n" |
703 | msgstr "" | 738 | msgstr "" |
704 | 739 | ||
705 | #: src/microhttpd/daemon.c:8042 src/microhttpd/daemon.c:8046 | 740 | #: src/microhttpd/daemon.c:8178 src/microhttpd/daemon.c:8182 |
706 | msgid "Failed to initialise multithreading in libgcrypt.\n" | 741 | msgid "Failed to initialise multithreading in libgcrypt.\n" |
707 | msgstr "" | 742 | msgstr "" |
708 | 743 | ||
709 | #: src/microhttpd/daemon.c:8052 | 744 | #: src/microhttpd/daemon.c:8188 |
710 | msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer.\n" | 745 | msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer.\n" |
711 | msgstr "" | 746 | msgstr "" |
712 | 747 | ||
713 | #: src/microhttpd/mhd_sockets.h:333 | 748 | #: src/microhttpd/mhd_sockets.h:345 |
714 | msgid "Close socket failed.\n" | 749 | msgid "Close socket failed.\n" |
715 | msgstr "" | 750 | msgstr "" |
716 | 751 | ||
717 | #: src/microhttpd/connection.c:140 | 752 | #: src/microhttpd/connection.c:206 |
718 | msgid "The operation would block, retry later" | 753 | msgid "The operation would block, retry later" |
719 | msgstr "" | 754 | msgstr "" |
720 | 755 | ||
721 | #: src/microhttpd/connection.c:142 | 756 | #: src/microhttpd/connection.c:208 |
722 | msgid "The connection was forcibly closed by remote peer" | 757 | msgid "The connection was forcibly closed by remote peer" |
723 | msgstr "" | 758 | msgstr "" |
724 | 759 | ||
725 | #: src/microhttpd/connection.c:144 | 760 | #: src/microhttpd/connection.c:210 |
726 | msgid "The socket is not connected" | 761 | msgid "The socket is not connected" |
727 | msgstr "" | 762 | msgstr "" |
728 | 763 | ||
729 | #: src/microhttpd/connection.c:146 | 764 | #: src/microhttpd/connection.c:212 |
730 | msgid "Not enough system resources to serve the request" | 765 | msgid "Not enough system resources to serve the request" |
731 | msgstr "" | 766 | msgstr "" |
732 | 767 | ||
733 | #: src/microhttpd/connection.c:148 | 768 | #: src/microhttpd/connection.c:214 |
734 | msgid "Bad FD value" | 769 | msgid "Bad FD value" |
735 | msgstr "" | 770 | msgstr "" |
736 | 771 | ||
737 | #: src/microhttpd/connection.c:150 | 772 | #: src/microhttpd/connection.c:216 |
738 | msgid "Argument value is invalid" | 773 | msgid "Argument value is invalid" |
739 | msgstr "" | 774 | msgstr "" |
740 | 775 | ||
741 | #: src/microhttpd/connection.c:152 | 776 | #: src/microhttpd/connection.c:218 |
742 | msgid "Argument value is not supported" | 777 | msgid "Argument value is not supported" |
743 | msgstr "" | 778 | msgstr "" |
744 | 779 | ||
745 | #: src/microhttpd/connection.c:154 | 780 | #: src/microhttpd/connection.c:220 |
746 | msgid "The socket is no longer available for sending" | 781 | msgid "The socket is no longer available for sending" |
747 | msgstr "" | 782 | msgstr "" |
748 | 783 | ||
749 | #: src/microhttpd/connection.c:156 | 784 | #: src/microhttpd/connection.c:222 |
750 | msgid "TLS encryption or decryption error" | 785 | msgid "TLS encryption or decryption error" |
751 | msgstr "" | 786 | msgstr "" |
752 | 787 | ||
753 | #: src/microhttpd/connection.c:161 | 788 | #: src/microhttpd/connection.c:227 |
754 | msgid "Not an error code" | 789 | msgid "Not an error code" |
755 | msgstr "" | 790 | msgstr "" |
756 | 791 | ||
757 | #: src/microhttpd/connection.c:164 | 792 | #: src/microhttpd/connection.c:230 |
758 | msgid "Wrong error code value" | 793 | msgid "Wrong error code value" |
759 | msgstr "" | 794 | msgstr "" |
760 | 795 | ||
761 | #: src/microhttpd/connection.c:868 src/microhttpd/connection.c:962 | 796 | #: src/microhttpd/connection.c:1047 src/microhttpd/connection.c:1157 |
762 | msgid "Closing connection (out of memory)." | 797 | msgid "Closing connection (out of memory)." |
763 | msgstr "" | 798 | msgstr "" |
764 | 799 | ||
765 | #: src/microhttpd/connection.c:913 | 800 | #: src/microhttpd/connection.c:1094 |
766 | msgid "Closing connection (application reported error generating data)." | 801 | msgid "Closing connection (application reported error generating data)." |
767 | msgstr "" | 802 | msgstr "" |
768 | 803 | ||
769 | #: src/microhttpd/connection.c:1010 | 804 | #: src/microhttpd/connection.c:1212 |
805 | msgid "No callback for the chunked data." | ||
806 | msgstr "" | ||
807 | |||
808 | #: src/microhttpd/connection.c:1230 | ||
770 | msgid "Closing connection (application error generating response)." | 809 | msgid "Closing connection (application error generating response)." |
771 | msgstr "" | 810 | msgstr "" |
772 | 811 | ||
773 | #: src/microhttpd/connection.c:1653 | 812 | #: src/microhttpd/connection.c:1254 |
813 | msgid "Closing connection (application returned more data than requested)." | ||
814 | msgstr "" | ||
815 | |||
816 | #: src/microhttpd/connection.c:2292 | ||
774 | #, c-format | 817 | #, c-format |
775 | msgid "" | 818 | msgid "" |
776 | "Error processing request (HTTP response code is %u (`%s')). Closing " | 819 | "Error processing request (HTTP response code is %u ('%s')). Closing " |
777 | "connection.\n" | 820 | "connection.\n" |
778 | msgstr "" | 821 | msgstr "" |
779 | 822 | ||
780 | #: src/microhttpd/connection.c:1680 src/microhttpd/connection.c:2722 | 823 | #: src/microhttpd/connection.c:2301 |
781 | msgid "Closing connection (failed to queue response)." | 824 | msgid "Too late to send an error response, response is being sent already.\n" |
825 | msgstr "" | ||
826 | |||
827 | #: src/microhttpd/connection.c:2307 | ||
828 | msgid "Too late for error response." | ||
782 | msgstr "" | 829 | msgstr "" |
783 | 830 | ||
784 | #: src/microhttpd/connection.c:1691 src/microhttpd/connection.c:3708 | 831 | #: src/microhttpd/connection.c:2335 |
785 | msgid "Closing connection (failed to create response header)." | 832 | msgid "Failed to create error response.\n" |
786 | msgstr "" | 833 | msgstr "" |
787 | 834 | ||
788 | #: src/microhttpd/connection.c:1737 src/microhttpd/connection.c:2888 | 835 | #: src/microhttpd/connection.c:2351 |
789 | #: src/microhttpd/connection.c:2956 src/microhttpd/connection.c:3372 | 836 | msgid "Closing connection (failed to queue error response)." |
837 | msgstr "" | ||
838 | |||
839 | #: src/microhttpd/connection.c:2383 | ||
840 | msgid "Closing connection (failed to create error response header)." | ||
841 | msgstr "" | ||
842 | |||
843 | #: src/microhttpd/connection.c:2435 src/microhttpd/connection.c:3795 | ||
844 | #: src/microhttpd/connection.c:3872 src/microhttpd/connection.c:4385 | ||
790 | #, c-format | 845 | #, c-format |
791 | msgid "In function %s handling connection at state: %s\n" | 846 | msgid "In function %s handling connection at state: %s\n" |
792 | msgstr "" | 847 | msgstr "" |
793 | 848 | ||
794 | #: src/microhttpd/connection.c:1955 | 849 | #: src/microhttpd/connection.c:2678 |
795 | msgid "Not enough memory in pool to allocate header record!\n" | 850 | msgid "Not enough memory in pool to allocate header record!\n" |
796 | msgstr "" | 851 | msgstr "" |
797 | 852 | ||
798 | #: src/microhttpd/connection.c:2002 | 853 | #: src/microhttpd/connection.c:2724 |
799 | msgid "Not enough memory in pool to parse cookies!\n" | 854 | msgid "Not enough memory in pool to parse cookies!\n" |
800 | msgstr "" | 855 | msgstr "" |
801 | 856 | ||
802 | #: src/microhttpd/connection.c:2233 src/microhttpd/connection.c:2437 | 857 | #: src/microhttpd/connection.c:3083 src/microhttpd/connection.c:3322 |
803 | msgid "Application reported internal error, closing connection." | 858 | msgid "Application reported internal error, closing connection." |
804 | msgstr "" | 859 | msgstr "" |
805 | 860 | ||
806 | #: src/microhttpd/connection.c:2302 src/microhttpd/connection.c:2381 | 861 | #: src/microhttpd/connection.c:3331 |
807 | msgid "" | ||
808 | "Received malformed HTTP request (bad chunked encoding). Closing connection." | ||
809 | msgstr "" | ||
810 | |||
811 | #: src/microhttpd/connection.c:2445 | ||
812 | msgid "libmicrohttpd API violation.\n" | 862 | msgid "libmicrohttpd API violation.\n" |
813 | msgstr "" | 863 | msgstr "" |
814 | 864 | ||
815 | #: src/microhttpd/connection.c:2461 | 865 | #: src/microhttpd/connection.c:3346 |
816 | msgid "" | 866 | msgid "" |
817 | "WARNING: incomplete upload processing and connection not suspended may " | 867 | "WARNING: incomplete upload processing and connection not suspended may " |
818 | "result in hung connection.\n" | 868 | "result in hung connection.\n" |
819 | msgstr "" | 869 | msgstr "" |
820 | 870 | ||
821 | #: src/microhttpd/connection.c:2535 | 871 | #: src/microhttpd/connection.c:3573 |
822 | msgid "Received malformed line (no colon). Closing connection." | 872 | msgid "Received HTTP/1.1 request without `Host' header.\n" |
823 | msgstr "" | ||
824 | |||
825 | #: src/microhttpd/connection.c:2698 | ||
826 | msgid "Received HTTP 1.1 request without `Host' header.\n" | ||
827 | msgstr "" | 873 | msgstr "" |
828 | 874 | ||
829 | #: src/microhttpd/connection.c:2710 | 875 | #: src/microhttpd/connection.c:3620 |
830 | msgid "Closing connection (failed to create response)." | 876 | msgid "Too large value of 'Content-Length' header. Closing connection.\n" |
831 | msgstr "" | 877 | msgstr "" |
832 | 878 | ||
833 | #: src/microhttpd/connection.c:2760 | 879 | #: src/microhttpd/connection.c:3631 |
834 | msgid "Failed to parse `Content-Length' header. Closing connection.\n" | 880 | msgid "Failed to parse `Content-Length' header. Closing connection.\n" |
835 | msgstr "" | 881 | msgstr "" |
836 | 882 | ||
837 | #: src/microhttpd/connection.c:2861 | 883 | #: src/microhttpd/connection.c:3744 |
838 | msgid "Socket disconnected while reading request." | 884 | msgid "Socket has been disconnected when reading request.\n" |
839 | msgstr "" | 885 | msgstr "" |
840 | 886 | ||
841 | #: src/microhttpd/connection.c:2868 | 887 | #: src/microhttpd/connection.c:3756 |
842 | #, c-format | 888 | #, c-format |
843 | msgid "Connection socket is closed when reading request due to the error: %s\n" | 889 | msgid "Connection socket is closed when reading request due to the error: %s\n" |
844 | msgstr "" | 890 | msgstr "" |
845 | 891 | ||
846 | #: src/microhttpd/connection.c:2983 | 892 | #: src/microhttpd/connection.c:3774 |
893 | msgid "Connection was closed by remote side with incomplete request.\n" | ||
894 | msgstr "" | ||
895 | |||
896 | #: src/microhttpd/connection.c:3900 | ||
847 | #, c-format | 897 | #, c-format |
848 | msgid "Failed to send data in request for %s.\n" | 898 | msgid "Failed to send data in request for %s.\n" |
849 | msgstr "" | 899 | msgstr "" |
850 | 900 | ||
851 | #: src/microhttpd/connection.c:2992 | 901 | #: src/microhttpd/connection.c:3909 |
852 | #, c-format | 902 | #, c-format |
853 | msgid "Sent 100 continue response: `%.*s'\n" | 903 | msgid "Sent 100 continue response: `%.*s'\n" |
854 | msgstr "" | 904 | msgstr "" |
855 | 905 | ||
856 | #: src/microhttpd/connection.c:3063 | 906 | #: src/microhttpd/connection.c:3986 |
857 | #, c-format | 907 | #, c-format |
858 | msgid "" | 908 | msgid "" |
859 | "Failed to send the response headers for the request for `%s'. Error: %s\n" | 909 | "Failed to send the response headers for the request for `%s'. Error: %s\n" |
860 | msgstr "" | 910 | msgstr "" |
861 | 911 | ||
862 | #: src/microhttpd/connection.c:3128 | 912 | #: src/microhttpd/connection.c:4052 |
863 | msgid "Data offset exceeds limit.\n" | 913 | msgid "Data offset exceeds limit.\n" |
864 | msgstr "" | 914 | msgstr "" |
865 | 915 | ||
866 | #: src/microhttpd/connection.c:3138 | 916 | #: src/microhttpd/connection.c:4062 |
867 | #, c-format | 917 | #, c-format |
868 | msgid "Sent %d-byte DATA response: `%.*s'\n" | 918 | msgid "Sent %d-byte DATA response: `%.*s'\n" |
869 | msgstr "" | 919 | msgstr "" |
870 | 920 | ||
871 | #: src/microhttpd/connection.c:3155 | 921 | #: src/microhttpd/connection.c:4079 |
872 | #, c-format | 922 | #, c-format |
873 | msgid "Failed to send the response body for the request for `%s'. Error: %s\n" | 923 | msgid "Failed to send the response body for the request for `%s'. Error: %s\n" |
874 | msgstr "" | 924 | msgstr "" |
875 | 925 | ||
876 | #: src/microhttpd/connection.c:3187 | 926 | #: src/microhttpd/connection.c:4111 |
877 | #, c-format | 927 | #, c-format |
878 | msgid "" | 928 | msgid "" |
879 | "Failed to send the chunked response body for the request for `%s'. Error: " | 929 | "Failed to send the chunked response body for the request for `%s'. Error: " |
880 | "%s\n" | 930 | "%s\n" |
881 | msgstr "" | 931 | msgstr "" |
882 | 932 | ||
883 | #: src/microhttpd/connection.c:3223 | 933 | #: src/microhttpd/connection.c:4147 |
884 | #, c-format | 934 | #, c-format |
885 | msgid "Failed to send the footers for the request for `%s'. Error: %s\n" | 935 | msgid "Failed to send the footers for the request for `%s'. Error: %s\n" |
886 | msgstr "" | 936 | msgstr "" |
887 | 937 | ||
888 | #: src/microhttpd/connection.c:3252 | 938 | #: src/microhttpd/connection.c:4176 |
889 | msgid "Internal error.\n" | 939 | msgid "Internal error.\n" |
890 | msgstr "" | 940 | msgstr "" |
891 | 941 | ||
892 | #: src/microhttpd/connection.c:3330 | 942 | #: src/microhttpd/connection.c:4254 |
893 | msgid "" | 943 | msgid "" |
894 | "Failed to signal end of connection via inter-thread communication channel.\n" | 944 | "Failed to signal end of connection via inter-thread communication channel.\n" |
895 | msgstr "" | 945 | msgstr "" |
896 | 946 | ||
897 | #: src/microhttpd/connection.c:3599 | 947 | #: src/microhttpd/connection.c:4636 |
898 | msgid "Closing connection (failed to create response header).\n" | 948 | msgid "Closing connection (failed to create response header).\n" |
899 | msgstr "" | 949 | msgstr "" |
900 | 950 | ||
901 | #: src/microhttpd/connection.c:4060 | 951 | #: src/microhttpd/connection.c:4755 |
952 | msgid "Closing connection (failed to create response footer)." | ||
953 | msgstr "" | ||
954 | |||
955 | #: src/microhttpd/connection.c:5074 | ||
902 | msgid "Attempted to queue response on wrong thread!\n" | 956 | msgid "Attempted to queue response on wrong thread!\n" |
903 | msgstr "" | 957 | msgstr "" |
904 | 958 | ||
905 | #: src/microhttpd/connection.c:4072 | 959 | #: src/microhttpd/connection.c:5097 |
906 | msgid "" | 960 | msgid "" |
907 | "Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n" | 961 | "Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n" |
908 | msgstr "" | 962 | msgstr "" |
909 | 963 | ||
910 | #: src/microhttpd/connection.c:4082 | 964 | #: src/microhttpd/connection.c:5106 |
911 | msgid "Application used invalid status code for 'upgrade' response!\n" | 965 | msgid "Application used invalid status code for 'upgrade' response!\n" |
912 | msgstr "" | 966 | msgstr "" |
913 | 967 | ||
914 | #: src/microhttpd/response.c:1096 | 968 | #: src/microhttpd/connection.c:5115 |
969 | msgid "Application used invalid response without \"Connection\" header!\n" | ||
970 | msgstr "" | ||
971 | |||
972 | #: src/microhttpd/connection.c:5129 | ||
973 | msgid "" | ||
974 | "Application used invalid response without \"upgrade\" token in \"Connection" | ||
975 | "\" header!\n" | ||
976 | msgstr "" | ||
977 | |||
978 | #: src/microhttpd/connection.c:5139 | ||
979 | msgid "Connection \"Upgrade\" can be used with HTTP/1.1 connections!\n" | ||
980 | msgstr "" | ||
981 | |||
982 | #: src/microhttpd/connection.c:5151 | ||
983 | #, c-format | ||
984 | msgid "" | ||
985 | "Refused wrong status code (%u). HTTP requires three digits status code!\n" | ||
986 | msgstr "" | ||
987 | |||
988 | #: src/microhttpd/connection.c:5163 | ||
989 | #, c-format | ||
990 | msgid "" | ||
991 | "Wrong status code (%u) refused. HTTP/1.0 clients do not support 1xx status " | ||
992 | "codes!\n" | ||
993 | msgstr "" | ||
994 | |||
995 | #: src/microhttpd/connection.c:5174 | ||
996 | #, c-format | ||
997 | msgid "" | ||
998 | "Wrong status code (%u) refused. HTTP/1.0 reply mode does not support 1xx " | ||
999 | "status codes!\n" | ||
1000 | msgstr "" | ||
1001 | |||
1002 | #: src/microhttpd/response.c:1646 | ||
915 | msgid "" | 1003 | msgid "" |
916 | "Invalid response for upgrade: application failed to set the 'Upgrade' " | 1004 | "Invalid response for upgrade: application failed to set the 'Upgrade' " |
917 | "header!\n" | 1005 | "header!\n" |
918 | msgstr "" | 1006 | msgstr "" |
919 | 1007 | ||
920 | #: src/microhttpd/response.c:1139 | 1008 | #: src/microhttpd/response.c:1690 |
921 | msgid "Failed to make loopback sockets non-blocking.\n" | 1009 | msgid "Failed to make loopback sockets non-blocking.\n" |
922 | msgstr "" | 1010 | msgstr "" |
923 | 1011 | ||
924 | #: src/microhttpd/response.c:1158 | 1012 | #: src/microhttpd/response.c:1709 |
925 | msgid "Failed to set SO_NOSIGPIPE on loopback sockets.\n" | 1013 | msgid "Failed to set SO_NOSIGPIPE on loopback sockets.\n" |
926 | msgstr "" | 1014 | msgstr "" |
927 | 1015 | ||
928 | #: src/microhttpd/response.c:1178 | 1016 | #: src/microhttpd/response.c:1729 |
929 | #, c-format | 1017 | #, c-format |
930 | msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n" | 1018 | msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n" |
931 | msgstr "" | 1019 | msgstr "" |
932 | 1020 | ||
933 | #: src/microhttpd/response.c:1259 | 1021 | #: src/microhttpd/response.c:1810 |
934 | msgid "Error cleaning up while handling epoll error.\n" | 1022 | msgid "Error cleaning up while handling epoll error.\n" |
935 | msgstr "" | 1023 | msgstr "" |
936 | 1024 | ||
937 | #: src/microhttpd/mhd_itc.h:355 | 1025 | #: src/microhttpd/mhd_itc.h:357 |
938 | msgid "Failed to destroy ITC.\n" | 1026 | msgid "Failed to destroy ITC.\n" |
939 | msgstr "" | 1027 | msgstr "" |
940 | 1028 | ||
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 70d29edc..1d62f2cc 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -96,7 +96,7 @@ extern "C" | |||
96 | * they are parsed as decimal numbers. | 96 | * they are parsed as decimal numbers. |
97 | * Example: 0x01093001 = 1.9.30-1. | 97 | * Example: 0x01093001 = 1.9.30-1. |
98 | */ | 98 | */ |
99 | #define MHD_VERSION 0x00097314 | 99 | #define MHD_VERSION 0x00097400 |
100 | 100 | ||
101 | /* If generic headers don't work on your platform, include headers | 101 | /* If generic headers don't work on your platform, include headers |
102 | which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', | 102 | which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', |