aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-25 14:00:00 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-25 13:53:59 +0300
commit7b93a775cdf7b292fe13838f1083605140fa6170 (patch)
tree7ca0e829346b0331708b018439772e5316a6291b
parentb7b0ed28dbfeec1db170010d76995376235b0ff1 (diff)
downloadlibmicrohttpd-7b93a775cdf7b292fe13838f1083605140fa6170.tar.gz
libmicrohttpd-7b93a775cdf7b292fe13838f1083605140fa6170.zip
Released GNU libmicrohttpd 0.9.73v0.9.73
-rw-r--r--ChangeLog3
-rw-r--r--NEWS84
-rw-r--r--configure.ac6
-rw-r--r--po/libmicrohttpd.pot475
-rw-r--r--src/include/microhttpd.h9
5 files changed, 381 insertions, 196 deletions
diff --git a/ChangeLog b/ChangeLog
index d9075fdd..13364d82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Sun 25 Apr 2021 14:00:00 MSK
2 Releasing GNU libmicrohttpd 0.9.73. -EG
3
1Sat 24 Apr 2021 23:00:00 MSK 4Sat 24 Apr 2021 23:00:00 MSK
2 Fixed build with Clang and Visual Studio. 5 Fixed build with Clang and Visual Studio.
3 MSVS project files updated. 6 MSVS project files updated.
diff --git a/NEWS b/NEWS
index 20d61fc5..9f76ae92 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,86 @@
1Sun 25 Apr 2021 14:00:00 MSK
2Released GNU libmicrohttpd 0.9.73
3
4 This release brings new features, improvements, and a few fixes.
5 The most important addition is the new function for vector-backed
6 responses, based on the patch contributed by NASA engineers.
7 Other changes include compatibility with autoconf 2.70+, improved
8 testsuite compatibility with CI systems, fixed and improved MSVC
9 builds, and implemention of ALPN support.
10
11 More detailed list of notable changes:
12
13 API changes:
14 + Added new function MHD_create_response_from_iovec(), based on the
15 patch provided by Lawrence Sebald and Damon N. Earp from NASA.
16 + Added MHD_OPTION_SIGPIPE_HANDLED_BY_APP daemon option.
17 + Added new function MHD_run_wait().
18 + Added MHD_OPTION_TLS_NO_ALPN to disable usage of ALPN even if
19 it is supported by TLS library.
20
21 New features:
22 + Added '--enable-heavy-tests' configure parameter (disabled by
23 default).
24 + Implemented support for ALPN.
25
26 Improvements and enhancements:
27 * Return timeout of zero also for connections awaiting cleanup.
28 * Compatibility with autoconf >=2.70, used new autoconf features.
29 * Warn user when custom logger option is not the first option.
30 * Added information to the header about minimal MHD version when
31 particular symbols were introduced.
32 * Updated test certificates to be compatible with modern browsers.
33 * Added on-fly detection of UNIX domain sockets and pipes, MHD does
34 not try to use TCP/IP-specific socket options on them.
35 * Report more detailed error description in the MHD log for send
36 and receive errors.
37 * Enabled bind port autodetection for MSVC builds.
38
39 Fixes:
40 # Fix PostProcessor to always properly stop iteration when
41 application callback tells it to do so.
42 # Fixed MD5 digest authorization broken when compiled without
43 variable length arrays support (notably with MSVC).
44 # Fixed detection of type of send errors on W32.
45
46 -- Evgeny Grin (Karlson2k)
47
48
49Mon 28 Dec 2020 21:36:00 MSK
50Released GNU libmicrohttpd 0.9.72
51
52 This release is mostly a bugfix release, with greatly improved
53 compatibility with various OSes/kernels, including FreeBSD, Windows,
54 OpenBSD, NetBSD, Darwin (macOS), Solaris. Performance is improved,
55 especially with HTTPS connections and stay-alive HTTP connections.
56
57 Notable changes since version 0.9.71:
58
59 API changes:
60 + New function MHD_create_response_from_pipe()
61
62 Improvements and enhancements:
63 * Fully rewritten code for buffering/pushing from kernel network buffers
64 for compatibility with various OSes. Reduced number of additional
65 sys-calls, network is better utilized, responses are delivered faster.
66 * Restored optimal sendfile() usage on FreeBSD.
67 * MHD now takes care about SIGPIPE handling by blocking it in internal
68 threads and avoiding functions (like sendfile()) that could generate
69 SIGPIPE when blocking of this signal is not possible.
70
71 Fixes:
72 # Fixed crash in PostProcessor.
73 # Fixed several resources leaks in corner cases.
74 # Improved thread sync, thread safety and fixed one use-after-free under
75 special conditions during stopping of daemon.
76 # Updated HTTP status codes, header names and methods from the
77 registries.
78 # Fixed functioning without listen socket and with internal threads.
79 # Fixed streaming of chunked responses for both HTTP and HTTPS.
80 # Various compatibility fixes.
81
82 -- Evgeny Grin (Karlson2k)
83
84
1Tue Jan 9 20:52:48 MST 2007 85Tue Jan 9 20:52:48 MST 2007
2 Project posted. 86 Project posted.
diff --git a/configure.ac b/configure.ac
index 36c1ca2f..ea49349b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,15 +22,15 @@
22# 22#
23AC_PREREQ([2.64]) 23AC_PREREQ([2.64])
24LT_PREREQ([2.4.0]) 24LT_PREREQ([2.4.0])
25AC_INIT([GNU Libmicrohttpd],[0.9.72],[libmicrohttpd@gnu.org]) 25AC_INIT([GNU Libmicrohttpd],[0.9.73],[libmicrohttpd@gnu.org])
26AC_CONFIG_AUX_DIR([build-aux]) 26AC_CONFIG_AUX_DIR([build-aux])
27AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) 27AM_INIT_AUTOMAKE([silent-rules] [subdir-objects])
28AC_CONFIG_HEADERS([MHD_config.h]) 28AC_CONFIG_HEADERS([MHD_config.h])
29AC_CONFIG_MACRO_DIR([m4]) 29AC_CONFIG_MACRO_DIR([m4])
30 30
31LIB_VERSION_CURRENT=69 31LIB_VERSION_CURRENT=70
32LIB_VERSION_REVISION=0 32LIB_VERSION_REVISION=0
33LIB_VERSION_AGE=57 33LIB_VERSION_AGE=58
34AC_SUBST(LIB_VERSION_CURRENT) 34AC_SUBST(LIB_VERSION_CURRENT)
35AC_SUBST(LIB_VERSION_REVISION) 35AC_SUBST(LIB_VERSION_REVISION)
36AC_SUBST(LIB_VERSION_AGE) 36AC_SUBST(LIB_VERSION_AGE)
diff --git a/po/libmicrohttpd.pot b/po/libmicrohttpd.pot
index 746eb5ef..3abf54eb 100644
--- a/po/libmicrohttpd.pot
+++ b/po/libmicrohttpd.pot
@@ -6,9 +6,9 @@
6#, fuzzy 6#, fuzzy
7msgid "" 7msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: GNU libmicrohttpd 0.9.72\n" 9"Project-Id-Version: GNU libmicrohttpd 0.9.73\n"
10"Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n" 10"Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n"
11"POT-Creation-Date: 2020-12-28 21:43+0300\n" 11"POT-Creation-Date: 2021-04-24 21:59+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,7 +17,7 @@ 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:129 20#: src/microhttpd/connection_https.c:161
21msgid "Error: received handshake message out of context.\n" 21msgid "Error: received handshake message out of context.\n"
22msgstr "" 22msgstr ""
23 23
@@ -37,57 +37,57 @@ msgstr ""
37msgid "Failed to close FD.\n" 37msgid "Failed to close FD.\n"
38msgstr "" 38msgstr ""
39 39
40#: src/microhttpd/digestauth.c:603 40#: src/microhttpd/digestauth.c:605
41msgid "" 41msgid ""
42"Stale nonce received. If this happens a lot, you should probably increase " 42"Stale nonce received. If this happens a lot, you should probably increase "
43"the size of the nonce array.\n" 43"the size of the nonce array.\n"
44msgstr "" 44msgstr ""
45 45
46#: src/microhttpd/digestauth.c:809 46#: src/microhttpd/digestauth.c:807
47msgid "Failed to allocate memory for copy of URI arguments.\n" 47msgid "Failed to allocate memory for copy of URI arguments.\n"
48msgstr "" 48msgstr ""
49 49
50#: src/microhttpd/digestauth.c:952 50#: src/microhttpd/digestauth.c:951
51msgid "Authentication failed, invalid timestamp format.\n" 51msgid "Authentication failed, invalid timestamp format.\n"
52msgstr "" 52msgstr ""
53 53
54#: src/microhttpd/digestauth.c:1014 54#: src/microhttpd/digestauth.c:1013
55msgid "Authentication failed, invalid format.\n" 55msgid "Authentication failed, invalid format.\n"
56msgstr "" 56msgstr ""
57 57
58#: src/microhttpd/digestauth.c:1024 58#: src/microhttpd/digestauth.c:1023
59msgid "Authentication failed, invalid nc format.\n" 59msgid "Authentication failed, invalid nc format.\n"
60msgstr "" 60msgstr ""
61 61
62#: src/microhttpd/digestauth.c:1050 62#: src/microhttpd/digestauth.c:1049
63msgid "Failed to allocate memory for auth header processing.\n" 63msgid "Failed to allocate memory for auth header processing.\n"
64msgstr "" 64msgstr ""
65 65
66#: src/microhttpd/digestauth.c:1110 66#: src/microhttpd/digestauth.c:1109
67msgid "Authentication failed, URI does not match.\n" 67msgid "Authentication failed, URI does not match.\n"
68msgstr "" 68msgstr ""
69 69
70#: src/microhttpd/digestauth.c:1129 70#: src/microhttpd/digestauth.c:1128
71msgid "Authentication failed, arguments do not match.\n" 71msgid "Authentication failed, arguments do not match.\n"
72msgstr "" 72msgstr ""
73 73
74#: src/microhttpd/digestauth.c:1290 74#: src/microhttpd/digestauth.c:1289
75msgid "Digest size mismatch.\n" 75msgid "Digest size mismatch.\n"
76msgstr "" 76msgstr ""
77 77
78#: src/microhttpd/digestauth.c:1383 78#: src/microhttpd/digestauth.c:1382
79msgid "Could not register nonce (is the nonce array size zero?).\n" 79msgid "Could not register nonce (is the nonce array size zero?).\n"
80msgstr "" 80msgstr ""
81 81
82#: src/microhttpd/digestauth.c:1408 82#: src/microhttpd/digestauth.c:1407
83msgid "Failed to allocate memory for auth response header.\n" 83msgid "Failed to allocate memory for auth response header.\n"
84msgstr "" 84msgstr ""
85 85
86#: src/microhttpd/digestauth.c:1450 86#: src/microhttpd/digestauth.c:1449
87msgid "Failed to add Digest auth header.\n" 87msgid "Failed to add Digest auth header.\n"
88msgstr "" 88msgstr ""
89 89
90#: src/microhttpd/daemon.c:135 90#: src/microhttpd/daemon.c:136
91#, c-format 91#, c-format
92msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n" 92msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n"
93msgstr "" 93msgstr ""
@@ -104,12 +104,33 @@ msgstr ""
104msgid "Previously-added IP address had counter of zero.\n" 104msgid "Previously-added IP address had counter of zero.\n"
105msgstr "" 105msgstr ""
106 106
107#: src/microhttpd/daemon.c:565
108msgid "Too long trust certificate.\n"
109msgstr ""
110
111#: src/microhttpd/daemon.c:577
112msgid "Bad trust certificate format.\n"
113msgstr ""
114
115#: src/microhttpd/daemon.c:602
116msgid "Too long key or certificate.\n"
117msgstr ""
118
107#: src/microhttpd/daemon.c:623 119#: src/microhttpd/daemon.c:623
108msgid "" 120msgid ""
109"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 "
110"support setting key password.\n" 122"support setting key password.\n"
111msgstr "" 123msgstr ""
112 124
125#: src/microhttpd/daemon.c:637
126#, c-format
127msgid "GnuTLS failed to setup x509 certificate/key: %s\n"
128msgstr ""
129
130#: src/microhttpd/daemon.c:652
131msgid "You need to specify a certificate and key location.\n"
132msgstr ""
133
113#: src/microhttpd/daemon.c:682 134#: src/microhttpd/daemon.c:682
114#, c-format 135#, c-format
115msgid "Error: invalid credentials type %d specified.\n" 136msgid "Error: invalid credentials type %d specified.\n"
@@ -126,7 +147,7 @@ msgid ""
126"unsupported.\n" 147"unsupported.\n"
127msgstr "" 148msgstr ""
128 149
129#: src/microhttpd/daemon.c:1361 src/microhttpd/daemon.c:7197 150#: src/microhttpd/daemon.c:1361 src/microhttpd/daemon.c:7387
130msgid "" 151msgid ""
131"Initiated daemon shutdown while \"upgraded\" connection was not closed.\n" 152"Initiated daemon shutdown while \"upgraded\" connection was not closed.\n"
132msgstr "" 153msgstr ""
@@ -168,114 +189,123 @@ msgid ""
168"Failed to signal thread termination via inter-thread communication channel.\n" 189"Failed to signal thread termination via inter-thread communication channel.\n"
169msgstr "" 190msgstr ""
170 191
171#: src/microhttpd/daemon.c:2301 192#: src/microhttpd/daemon.c:2305
172msgid "Internal server error. This should be impossible.\n" 193msgid "Internal server error. This should be impossible.\n"
173msgstr "" 194msgstr ""
174 195
175#: src/microhttpd/daemon.c:2311 src/microhttpd/daemon.c:2349 196#: src/microhttpd/daemon.c:2315 src/microhttpd/daemon.c:2353
176msgid "PSK not supported by this server.\n" 197msgid "PSK not supported by this server.\n"
177msgstr "" 198msgstr ""
178 199
179#: src/microhttpd/daemon.c:2326 200#: src/microhttpd/daemon.c:2330
180msgid "PSK authentication failed: gnutls_malloc failed to allocate memory.\n" 201msgid "PSK authentication failed: gnutls_malloc failed to allocate memory.\n"
181msgstr "" 202msgstr ""
182 203
183#: src/microhttpd/daemon.c:2335 204#: src/microhttpd/daemon.c:2339
184msgid "PSK authentication failed: PSK too long.\n" 205msgid "PSK authentication failed: PSK too long.\n"
185msgstr "" 206msgstr ""
186 207
187#: src/microhttpd/daemon.c:2395 208#: src/microhttpd/daemon.c:2401
188#, c-format 209#, c-format
189msgid "Accepted connection on socket %d.\n" 210msgid "Accepted connection on socket %d.\n"
190msgstr "" 211msgstr ""
191 212
192#: src/microhttpd/daemon.c:2408 src/microhttpd/daemon.c:2712 213#: src/microhttpd/daemon.c:2414 src/microhttpd/daemon.c:2745
193msgid "Server reached connection limit. Closing inbound connection.\n" 214msgid "Server reached connection limit. Closing inbound connection.\n"
194msgstr "" 215msgstr ""
195 216
196#: src/microhttpd/daemon.c:2426 217#: src/microhttpd/daemon.c:2432
197msgid "Connection rejected by application. Closing connection.\n" 218msgid "Connection rejected by application. Closing connection.\n"
198msgstr "" 219msgstr ""
199 220
200#: src/microhttpd/daemon.c:2472 src/microhttpd/daemon.c:2685 221#: src/microhttpd/daemon.c:2450 src/microhttpd/daemon.c:2478
201#: src/microhttpd/daemon.c:4217 222#: src/microhttpd/daemon.c:2718 src/microhttpd/daemon.c:4310
202#, c-format 223#, c-format
203msgid "Error allocating memory: %s\n" 224msgid "Error allocating memory: %s\n"
204msgstr "" 225msgstr ""
205 226
206#: src/microhttpd/daemon.c:2539 227#: src/microhttpd/daemon.c:2546
207msgid "Failed to initialise TLS session.\n" 228msgid "Failed to initialise TLS session.\n"
208msgstr "" 229msgstr ""
209 230
210#: src/microhttpd/daemon.c:2567 231#: src/microhttpd/daemon.c:2572
232msgid "Failed to set ALPN protocols.\n"
233msgstr ""
234
235#: src/microhttpd/daemon.c:2600
211#, c-format 236#, c-format
212msgid "Failed to setup TLS credentials: unknown credential type %d.\n" 237msgid "Failed to setup TLS credentials: unknown credential type %d.\n"
213msgstr "" 238msgstr ""
214 239
215#: src/microhttpd/daemon.c:2577 240#: src/microhttpd/daemon.c:2610
216msgid "Unknown credential type.\n" 241msgid "Unknown credential type.\n"
217msgstr "" 242msgstr ""
218 243
219#: src/microhttpd/daemon.c:2604 244#: src/microhttpd/daemon.c:2637
220msgid "TLS connection on non-TLS daemon.\n" 245msgid "TLS connection on non-TLS daemon.\n"
221msgstr "" 246msgstr ""
222 247
223#: src/microhttpd/daemon.c:2776 src/microhttpd/daemon.c:4734 248#: src/microhttpd/daemon.c:2783
224#: src/microhttpd/daemon.c:4767 src/microhttpd/daemon.c:6024 249#, c-format
225#: src/microhttpd/daemon.c:6043 src/microhttpd/connection.c:3754 250msgid "Failed to create a thread: %s\n"
226#: src/microhttpd/response.c:1107 src/microhttpd/response.c:1133 251msgstr ""
252
253#: src/microhttpd/daemon.c:2809 src/microhttpd/daemon.c:4821
254#: src/microhttpd/daemon.c:4854 src/microhttpd/daemon.c:6208
255#: src/microhttpd/daemon.c:6227 src/microhttpd/connection.c:3870
256#: src/microhttpd/response.c:1236 src/microhttpd/response.c:1262
227#, c-format 257#, c-format
228msgid "Call to epoll_ctl failed: %s\n" 258msgid "Call to epoll_ctl failed: %s\n"
229msgstr "" 259msgstr ""
230 260
231#: src/microhttpd/daemon.c:2885 261#: src/microhttpd/daemon.c:2920
232#, c-format 262#, c-format
233msgid "" 263msgid ""
234"New connection socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" 264"New connection socket descriptor (%d) is not less than FD_SETSIZE (%d).\n"
235msgstr "" 265msgstr ""
236 266
237#: src/microhttpd/daemon.c:2902 267#: src/microhttpd/daemon.c:2937
238msgid "Epoll mode supports only non-blocking sockets\n" 268msgid "Epoll mode supports only non-blocking sockets\n"
239msgstr "" 269msgstr ""
240 270
241#: src/microhttpd/daemon.c:2935 271#: src/microhttpd/daemon.c:2974
242msgid "" 272msgid ""
243"Failed to signal new connection via inter-thread communication channel.\n" 273"Failed to signal new connection via inter-thread communication channel.\n"
244msgstr "" 274msgstr ""
245 275
246#: src/microhttpd/daemon.c:2980 276#: src/microhttpd/daemon.c:3019
247msgid "Failed to start serving new connection.\n" 277msgid "Failed to start serving new connection.\n"
248msgstr "" 278msgstr ""
249 279
250#: src/microhttpd/daemon.c:3053 src/microhttpd/daemon.c:3703 280#: src/microhttpd/daemon.c:3092 src/microhttpd/daemon.c:3745
251#: src/microhttpd/daemon.c:7064 src/microhttpd/connection.c:707 281#: src/microhttpd/daemon.c:7254 src/microhttpd/connection.c:759
252#: src/microhttpd/connection.c:726 282#: src/microhttpd/connection.c:778
253msgid "Failed to remove FD from epoll set.\n" 283msgid "Failed to remove FD from epoll set.\n"
254msgstr "" 284msgstr ""
255 285
256#: src/microhttpd/daemon.c:3109 286#: src/microhttpd/daemon.c:3148
257msgid "Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" 287msgid "Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n"
258msgstr "" 288msgstr ""
259 289
260#: src/microhttpd/daemon.c:3116 290#: src/microhttpd/daemon.c:3155
261msgid "Error: connection scheduled for \"upgrade\" cannot be suspended.\n" 291msgid "Error: connection scheduled for \"upgrade\" cannot be suspended.\n"
262msgstr "" 292msgstr ""
263 293
264#: src/microhttpd/daemon.c:3140 294#: src/microhttpd/daemon.c:3179
265msgid "Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" 295msgid "Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n"
266msgstr "" 296msgstr ""
267 297
268#: src/microhttpd/daemon.c:3155 298#: src/microhttpd/daemon.c:3194
269msgid "Failed to signal resume via inter-thread communication channel.\n" 299msgid "Failed to signal resume via inter-thread communication channel.\n"
270msgstr "" 300msgstr ""
271 301
272#: src/microhttpd/daemon.c:3295 302#: src/microhttpd/daemon.c:3334
273msgid "" 303msgid ""
274"Failed to signal resume of connection via inter-thread communication " 304"Failed to signal resume of connection via inter-thread communication "
275"channel.\n" 305"channel.\n"
276msgstr "" 306msgstr ""
277 307
278#: src/microhttpd/daemon.c:3349 308#: src/microhttpd/daemon.c:3388
279msgid "" 309msgid ""
280"MHD_add_connection() has been called for daemon started without MHD_USE_ITC " 310"MHD_add_connection() has been called for daemon started without MHD_USE_ITC "
281"flag.\n" 311"flag.\n"
@@ -283,389 +313,400 @@ msgid ""
283"already added sockets.\n" 313"already added sockets.\n"
284msgstr "" 314msgstr ""
285 315
286#: src/microhttpd/daemon.c:3360 316#: src/microhttpd/daemon.c:3399
287#, c-format 317#, c-format
288msgid "Failed to set nonblocking mode on new client socket: %s\n" 318msgid "Failed to set nonblocking mode on new client socket: %s\n"
289msgstr "" 319msgstr ""
290 320
291#: src/microhttpd/daemon.c:3379 321#: src/microhttpd/daemon.c:3418
292#, c-format 322#, c-format
293msgid "Failed to suppress SIGPIPE on new client socket: %s\n" 323msgid "Failed to suppress SIGPIPE on new client socket: %s\n"
294msgstr "" 324msgstr ""
295 325
296#: src/microhttpd/daemon.c:3405 326#: src/microhttpd/daemon.c:3444
297msgid "Failed to set noninheritable mode on new client socket.\n" 327msgid "Failed to set noninheritable mode on new client socket.\n"
298msgstr "" 328msgstr ""
299 329
300#: src/microhttpd/daemon.c:3526 330#: src/microhttpd/daemon.c:3567
301#, c-format 331#, c-format
302msgid "Error accepting connection: %s\n" 332msgid "Error accepting connection: %s\n"
303msgstr "" 333msgstr ""
304 334
305#: src/microhttpd/daemon.c:3544 335#: src/microhttpd/daemon.c:3585
306msgid "" 336msgid ""
307"Hit process or system resource limit at FIRST connection. This is really bad " 337"Hit process or system resource limit at FIRST connection. This is really bad "
308"as there is no sane way to proceed. Will try busy waiting for system " 338"as there is no sane way to proceed. Will try busy waiting for system "
309"resources to become magically available.\n" 339"resources to become magically available.\n"
310msgstr "" 340msgstr ""
311 341
312#: src/microhttpd/daemon.c:3559 342#: src/microhttpd/daemon.c:3600
313#, c-format 343#, c-format
314msgid "" 344msgid ""
315"Hit process or system resource limit at %u connections, temporarily " 345"Hit process or system resource limit at %u connections, temporarily "
316"suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n" 346"suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n"
317msgstr "" 347msgstr ""
318 348
319#: src/microhttpd/daemon.c:3572 349#: src/microhttpd/daemon.c:3613
320#, c-format 350#, c-format
321msgid "Failed to set nonblocking mode on incoming connection socket: %s\n" 351msgid "Failed to set nonblocking mode on incoming connection socket: %s\n"
322msgstr "" 352msgstr ""
323 353
324#: src/microhttpd/daemon.c:3585 354#: src/microhttpd/daemon.c:3626
325msgid "Failed to set noninheritable mode on incoming connection socket.\n" 355msgid "Failed to set noninheritable mode on incoming connection socket.\n"
326msgstr "" 356msgstr ""
327 357
328#: src/microhttpd/daemon.c:3595 358#: src/microhttpd/daemon.c:3636
329#, c-format 359#, c-format
330msgid "Failed to suppress SIGPIPE on incoming connection socket: %s\n" 360msgid "Failed to suppress SIGPIPE on incoming connection socket: %s\n"
331msgstr "" 361msgstr ""
332 362
333#: src/microhttpd/daemon.c:3616 363#: src/microhttpd/daemon.c:3657
334#, c-format 364#, c-format
335msgid "Accepted connection on socket %d\n" 365msgid "Accepted connection on socket %d\n"
336msgstr "" 366msgstr ""
337 367
338#: src/microhttpd/daemon.c:3660 src/microhttpd/daemon.c:7238 368#: src/microhttpd/daemon.c:3702 src/microhttpd/daemon.c:7428
339#: src/microhttpd/daemon.c:7270 src/microhttpd/daemon.c:7303 369#: src/microhttpd/daemon.c:7460 src/microhttpd/daemon.c:7493
340#: src/microhttpd/daemon.c:7409 370#: src/microhttpd/daemon.c:7599
341msgid "Failed to join a thread.\n" 371msgid "Failed to join a thread.\n"
342msgstr "" 372msgstr ""
343 373
344#: src/microhttpd/daemon.c:3769 374#: src/microhttpd/daemon.c:3811
345msgid "Illegal call to MHD_get_timeout.\n" 375msgid "Illegal call to MHD_get_timeout.\n"
346msgstr "" 376msgstr ""
347 377
348#: src/microhttpd/daemon.c:3970 378#: src/microhttpd/daemon.c:4039
349msgid "" 379msgid ""
350"MHD_run_from_select() called with except_fd_set set to NULL. Such behavior " 380"MHD_run_from_select() called with except_fd_set set to NULL. Such behavior "
351"is deprecated.\n" 381"is deprecated.\n"
352msgstr "" 382msgstr ""
353 383
354#: src/microhttpd/daemon.c:4050 384#: src/microhttpd/daemon.c:4120
355msgid "Could not obtain daemon fdsets.\n" 385msgid "Could not obtain daemon fdsets.\n"
356msgstr "" 386msgstr ""
357 387
358#: src/microhttpd/daemon.c:4067 388#: src/microhttpd/daemon.c:4137
359msgid "Could not add listen socket to fdset.\n" 389msgid "Could not add listen socket to fdset.\n"
360msgstr "" 390msgstr ""
361 391
362#: src/microhttpd/daemon.c:4096 392#: src/microhttpd/daemon.c:4166
363msgid "Could not add control inter-thread communication channel FD to fdset.\n" 393msgid "Could not add control inter-thread communication channel FD to fdset.\n"
364msgstr "" 394msgstr ""
365 395
366#: src/microhttpd/daemon.c:4154 396#: src/microhttpd/daemon.c:4246
367#, c-format 397#, c-format
368msgid "select failed: %s\n" 398msgid "select failed: %s\n"
369msgstr "" 399msgstr ""
370 400
371#: src/microhttpd/daemon.c:4299 src/microhttpd/daemon.c:4453 401#: src/microhttpd/daemon.c:4386 src/microhttpd/daemon.c:4540
372#, c-format 402#, c-format
373msgid "poll failed: %s\n" 403msgid "poll failed: %s\n"
374msgstr "" 404msgstr ""
375 405
376#: src/microhttpd/daemon.c:4596 src/microhttpd/daemon.c:4835 406#: src/microhttpd/daemon.c:4683 src/microhttpd/daemon.c:4908
377#, c-format 407#, c-format
378msgid "Call to epoll_wait failed: %s\n" 408msgid "Call to epoll_wait failed: %s\n"
379msgstr "" 409msgstr ""
380 410
381#: src/microhttpd/daemon.c:4786 src/microhttpd/daemon.c:5284 411#: src/microhttpd/daemon.c:4873 src/microhttpd/daemon.c:5410
382msgid "Failed to remove listen FD from epoll set.\n" 412msgid "Failed to remove listen FD from epoll set.\n"
383msgstr "" 413msgstr ""
384 414
385#: src/microhttpd/daemon.c:5130 415#: src/microhttpd/daemon.c:5255
386#, c-format 416#, c-format
387msgid "Failed to block SIGPIPE on daemon thread: %s\n" 417msgid "Failed to block SIGPIPE on daemon thread: %s\n"
388msgstr "" 418msgstr ""
389 419
390#: src/microhttpd/daemon.c:5293 420#: src/microhttpd/daemon.c:5391
421msgid "Using MHD_quiesce_daemon in this mode requires MHD_USE_ITC.\n"
422msgstr ""
423
424#: src/microhttpd/daemon.c:5419
391msgid "Failed to signal quiesce via inter-thread communication channel.\n" 425msgid "Failed to signal quiesce via inter-thread communication channel.\n"
392msgstr "" 426msgstr ""
393 427
394#: src/microhttpd/daemon.c:5316 428#: src/microhttpd/daemon.c:5442
395msgid "failed to signal quiesce via inter-thread communication channel.\n" 429msgid "failed to signal quiesce via inter-thread communication channel.\n"
396msgstr "" 430msgstr ""
397 431
398#: src/microhttpd/daemon.c:5430 432#: src/microhttpd/daemon.c:5559
399msgid "Warning: Too large timeout value, ignored.\n" 433msgid "Warning: Too large timeout value, ignored.\n"
400msgstr "" 434msgstr ""
401 435
402#: src/microhttpd/daemon.c:5475 436#: src/microhttpd/daemon.c:5604
403msgid "" 437msgid ""
404"Warning: Zero size, specified for thread pool size, is ignored. Thread pool " 438"Warning: Zero size, specified for thread pool size, is ignored. Thread pool "
405"is not used.\n" 439"is not used.\n"
406msgstr "" 440msgstr ""
407 441
408#: src/microhttpd/daemon.c:5484 442#: src/microhttpd/daemon.c:5613
409msgid "" 443msgid ""
410"Warning: \"1\", specified for thread pool size, is ignored. Thread pool is " 444"Warning: \"1\", specified for thread pool size, is ignored. Thread pool is "
411"not used.\n" 445"not used.\n"
412msgstr "" 446msgstr ""
413 447
414#: src/microhttpd/daemon.c:5498 448#: src/microhttpd/daemon.c:5627
415#, c-format 449#, c-format
416msgid "Specified thread pool size (%u) too big.\n" 450msgid "Specified thread pool size (%u) too big.\n"
417msgstr "" 451msgstr ""
418 452
419#: src/microhttpd/daemon.c:5510 453#: src/microhttpd/daemon.c:5639
420msgid "" 454msgid ""
421"MHD_OPTION_THREAD_POOL_SIZE option is specified but " 455"MHD_OPTION_THREAD_POOL_SIZE option is specified but "
422"MHD_USE_INTERNAL_POLLING_THREAD flag is not specified.\n" 456"MHD_USE_INTERNAL_POLLING_THREAD flag is not specified.\n"
423msgstr "" 457msgstr ""
424 458
425#: src/microhttpd/daemon.c:5519 459#: src/microhttpd/daemon.c:5648
426msgid "" 460msgid ""
427"Both MHD_OPTION_THREAD_POOL_SIZE option and MHD_USE_THREAD_PER_CONNECTION " 461"Both MHD_OPTION_THREAD_POOL_SIZE option and MHD_USE_THREAD_PER_CONNECTION "
428"flag are specified.\n" 462"flag are specified.\n"
429msgstr "" 463msgstr ""
430 464
431#: src/microhttpd/daemon.c:5537 src/microhttpd/daemon.c:5550 465#: src/microhttpd/daemon.c:5666 src/microhttpd/daemon.c:5679
432#: src/microhttpd/daemon.c:5563 src/microhttpd/daemon.c:5576 466#: src/microhttpd/daemon.c:5692 src/microhttpd/daemon.c:5705
433#: src/microhttpd/daemon.c:5628 src/microhttpd/daemon.c:5657 467#: src/microhttpd/daemon.c:5757 src/microhttpd/daemon.c:5786
434#: src/microhttpd/daemon.c:5678 src/microhttpd/daemon.c:5700 468#: src/microhttpd/daemon.c:5807 src/microhttpd/daemon.c:5829
469#: src/microhttpd/daemon.c:6097
435#, c-format 470#, c-format
436msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set.\n" 471msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set.\n"
437msgstr "" 472msgstr ""
438 473
439#: src/microhttpd/daemon.c:5596 474#: src/microhttpd/daemon.c:5725
440msgid "Error initializing DH parameters.\n" 475msgid "Error initializing DH parameters.\n"
441msgstr "" 476msgstr ""
442 477
443#: src/microhttpd/daemon.c:5606 478#: src/microhttpd/daemon.c:5735
444msgid "Diffie-Hellman parameters string too long.\n" 479msgid "Diffie-Hellman parameters string too long.\n"
445msgstr "" 480msgstr ""
446 481
447#: src/microhttpd/daemon.c:5617 482#: src/microhttpd/daemon.c:5746
448msgid "Bad Diffie-Hellman parameters format.\n" 483msgid "Bad Diffie-Hellman parameters format.\n"
449msgstr "" 484msgstr ""
450 485
451#: src/microhttpd/daemon.c:5645 486#: src/microhttpd/daemon.c:5774
452#, c-format 487#, c-format
453msgid "Setting priorities to `%s' failed: %s\n" 488msgid "Setting priorities to `%s' failed: %s\n"
454msgstr "" 489msgstr ""
455 490
456#: src/microhttpd/daemon.c:5666 491#: src/microhttpd/daemon.c:5795
457msgid "" 492msgid ""
458"MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0.\n" 493"MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0.\n"
459msgstr "" 494msgstr ""
460 495
461#: src/microhttpd/daemon.c:5688 496#: src/microhttpd/daemon.c:5817
462msgid "" 497msgid ""
463"MHD_OPTION_HTTPS_CERT_CALLBACK2 requires building MHD with GnuTLS >= 3.6.3.\n" 498"MHD_OPTION_HTTPS_CERT_CALLBACK2 requires building MHD with GnuTLS >= 3.6.3.\n"
464msgstr "" 499msgstr ""
465 500
466#: src/microhttpd/daemon.c:5723 501#: src/microhttpd/daemon.c:5852
467msgid "" 502msgid ""
468"MHD_OPTION_LISTEN_SOCKET specified for daemon with MHD_USE_NO_LISTEN_SOCKET " 503"MHD_OPTION_LISTEN_SOCKET specified for daemon with MHD_USE_NO_LISTEN_SOCKET "
469"flag set.\n" 504"flag set.\n"
470msgstr "" 505msgstr ""
471 506
472#: src/microhttpd/daemon.c:5759 507#: src/microhttpd/daemon.c:5890
508msgid ""
509"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"
511msgstr ""
512
513#: src/microhttpd/daemon.c:5915
473msgid "TCP fastopen is not supported on this platform.\n" 514msgid "TCP fastopen is not supported on this platform.\n"
474msgstr "" 515msgstr ""
475 516
476#: src/microhttpd/daemon.c:5778 517#: src/microhttpd/daemon.c:5934
477msgid "" 518msgid ""
478"Flag MHD_USE_PEDANTIC_CHECKS is ignored because another behavior is " 519"Flag MHD_USE_PEDANTIC_CHECKS is ignored because another behavior is "
479"specified by MHD_OPTION_STRICT_CLIENT.\n" 520"specified by MHD_OPTION_STRICT_CLIENT.\n"
480msgstr "" 521msgstr ""
481 522
482#: src/microhttpd/daemon.c:5913 523#: src/microhttpd/daemon.c:6072
483#, c-format 524#, c-format
484msgid "MHD HTTPS option %d passed to MHD compiled without GNUtls >= 3.\n" 525msgid "MHD HTTPS option %d passed to MHD compiled without GNUtls >= 3.\n"
485msgstr "" 526msgstr ""
486 527
487#: src/microhttpd/daemon.c:5927 528#: src/microhttpd/daemon.c:6111
488#, c-format 529#, c-format
489msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support.\n" 530msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support.\n"
490msgstr "" 531msgstr ""
491 532
492#: src/microhttpd/daemon.c:5934 533#: src/microhttpd/daemon.c:6118
493#, c-format 534#, c-format
494msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?).\n" 535msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?).\n"
495msgstr "" 536msgstr ""
496 537
497#: src/microhttpd/daemon.c:5964 538#: src/microhttpd/daemon.c:6148
498#, c-format 539#, c-format
499msgid "Call to epoll_create1 failed: %s\n" 540msgid "Call to epoll_create1 failed: %s\n"
500msgstr "" 541msgstr ""
501 542
502#: src/microhttpd/daemon.c:5974 543#: src/microhttpd/daemon.c:6158
503msgid "Failed to set noninheritable mode on epoll FD.\n" 544msgid "Failed to set noninheritable mode on epoll FD.\n"
504msgstr "" 545msgstr ""
505 546
506#: src/microhttpd/daemon.c:6239 547#: src/microhttpd/daemon.c:6465
507msgid "" 548msgid ""
508"Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with " 549"Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with "
509"MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was " 550"MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was "
510"added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.\n" 551"added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.\n"
511msgstr "" 552msgstr ""
512 553
513#: src/microhttpd/daemon.c:6287 554#: src/microhttpd/daemon.c:6478
514msgid "Using debug build of libmicrohttpd.\n" 555msgid "Using debug build of libmicrohttpd.\n"
515msgstr "" 556msgstr ""
516 557
517#: src/microhttpd/daemon.c:6301 558#: src/microhttpd/daemon.c:6492
518#, c-format 559#, c-format
519msgid "Failed to create inter-thread communication channel: %s\n" 560msgid "Failed to create inter-thread communication channel: %s\n"
520msgstr "" 561msgstr ""
521 562
522#: src/microhttpd/daemon.c:6318 563#: src/microhttpd/daemon.c:6509
523msgid "" 564msgid ""
524"file descriptor for inter-thread communication channel exceeds maximum " 565"file descriptor for inter-thread communication channel exceeds maximum "
525"value.\n" 566"value.\n"
526msgstr "" 567msgstr ""
527 568
528#: src/microhttpd/daemon.c:6338 569#: src/microhttpd/daemon.c:6529
529msgid "Specified value for NC_SIZE too large.\n" 570msgid "Specified value for NC_SIZE too large.\n"
530msgstr "" 571msgstr ""
531 572
532#: src/microhttpd/daemon.c:6352 573#: src/microhttpd/daemon.c:6543
533#, c-format 574#, c-format
534msgid "Failed to allocate memory for nonce-nc map: %s\n" 575msgid "Failed to allocate memory for nonce-nc map: %s\n"
535msgstr "" 576msgstr ""
536 577
537#: src/microhttpd/daemon.c:6369 578#: src/microhttpd/daemon.c:6560
538msgid "MHD failed to initialize nonce-nc mutex.\n" 579msgid "MHD failed to initialize nonce-nc mutex.\n"
539msgstr "" 580msgstr ""
540 581
541#: src/microhttpd/daemon.c:6390 582#: src/microhttpd/daemon.c:6581
542msgid "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD.\n" 583msgid "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD.\n"
543msgstr "" 584msgstr ""
544 585
545#: src/microhttpd/daemon.c:6414 586#: src/microhttpd/daemon.c:6605
546#, c-format 587#, c-format
547msgid "Failed to create socket for listening: %s\n" 588msgid "Failed to create socket for listening: %s\n"
548msgstr "" 589msgstr ""
549 590
550#: src/microhttpd/daemon.c:6435 src/microhttpd/daemon.c:6454 591#: src/microhttpd/daemon.c:6626 src/microhttpd/daemon.c:6645
551#: src/microhttpd/daemon.c:6477 src/microhttpd/daemon.c:6515 592#: src/microhttpd/daemon.c:6668 src/microhttpd/daemon.c:6706
552#: src/microhttpd/daemon.c:6593 src/microhttpd/daemon.c:6624 593#: src/microhttpd/daemon.c:6783 src/microhttpd/daemon.c:6814
553#, c-format 594#, c-format
554msgid "setsockopt failed: %s\n" 595msgid "setsockopt failed: %s\n"
555msgstr "" 596msgstr ""
556 597
557#: src/microhttpd/daemon.c:6488 598#: src/microhttpd/daemon.c:6679
558msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined.\n" 599msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined.\n"
559msgstr "" 600msgstr ""
560 601
561#: src/microhttpd/daemon.c:6524 602#: src/microhttpd/daemon.c:6715
562msgid "" 603msgid ""
563"Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined.\n" 604"Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined.\n"
564msgstr "" 605msgstr ""
565 606
566#: src/microhttpd/daemon.c:6604 607#: src/microhttpd/daemon.c:6794
567#, c-format 608#, c-format
568msgid "Failed to bind to port %u: %s\n" 609msgid "Failed to bind to port %u: %s\n"
569msgstr "" 610msgstr ""
570 611
571#: src/microhttpd/daemon.c:6635 612#: src/microhttpd/daemon.c:6825
572#, c-format 613#, c-format
573msgid "Failed to listen for connections: %s\n" 614msgid "Failed to listen for connections: %s\n"
574msgstr "" 615msgstr ""
575 616
576#: src/microhttpd/daemon.c:6666 617#: src/microhttpd/daemon.c:6856
577#, c-format 618#, c-format
578msgid "Failed to get listen port number: %s\n" 619msgid "Failed to get listen port number: %s\n"
579msgstr "" 620msgstr ""
580 621
581#: src/microhttpd/daemon.c:6677 622#: src/microhttpd/daemon.c:6867
582msgid "" 623msgid ""
583"Failed to get listen port number (`struct sockaddr_storage` too small!?).\n" 624"Failed to get listen port number (`struct sockaddr_storage` too small!?).\n"
584msgstr "" 625msgstr ""
585 626
586#: src/microhttpd/daemon.c:6718 627#: src/microhttpd/daemon.c:6908
587msgid "Unknown address family!\n" 628msgid "Unknown address family!\n"
588msgstr "" 629msgstr ""
589 630
590#: src/microhttpd/daemon.c:6731 631#: src/microhttpd/daemon.c:6921
591#, c-format 632#, c-format
592msgid "Failed to set nonblocking mode on listening socket: %s\n" 633msgid "Failed to set nonblocking mode on listening socket: %s\n"
593msgstr "" 634msgstr ""
594 635
595#: src/microhttpd/daemon.c:6754 636#: src/microhttpd/daemon.c:6944
596#, c-format 637#, c-format
597msgid "Listen socket descriptor (%d) is not less than FD_SETSIZE (%d).\n" 638msgid "Listen socket descriptor (%d) is not less than FD_SETSIZE (%d).\n"
598msgstr "" 639msgstr ""
599 640
600#: src/microhttpd/daemon.c:6775 641#: src/microhttpd/daemon.c:6965
601msgid "" 642msgid ""
602"Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n" 643"Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n"
603msgstr "" 644msgstr ""
604 645
605#: src/microhttpd/daemon.c:6789 src/microhttpd/daemon.c:6799 646#: src/microhttpd/daemon.c:6979 src/microhttpd/daemon.c:6989
606msgid "MHD failed to initialize IP connection limit mutex.\n" 647msgid "MHD failed to initialize IP connection limit mutex.\n"
607msgstr "" 648msgstr ""
608 649
609#: src/microhttpd/daemon.c:6817 650#: src/microhttpd/daemon.c:7007
610msgid "Failed to initialize TLS support.\n" 651msgid "Failed to initialize TLS support.\n"
611msgstr "" 652msgstr ""
612 653
613#: src/microhttpd/daemon.c:6850 src/microhttpd/daemon.c:6915 654#: src/microhttpd/daemon.c:7040 src/microhttpd/daemon.c:7105
614#: src/microhttpd/daemon.c:7014 655#: src/microhttpd/daemon.c:7204
615msgid "Failed to initialise mutex.\n" 656msgid "Failed to initialise mutex.\n"
616msgstr "" 657msgstr ""
617 658
618#: src/microhttpd/daemon.c:6868 659#: src/microhttpd/daemon.c:7058
619#, c-format 660#, c-format
620msgid "Failed to create listen thread: %s\n" 661msgid "Failed to create listen thread: %s\n"
621msgstr "" 662msgstr ""
622 663
623#: src/microhttpd/daemon.c:6926 664#: src/microhttpd/daemon.c:7116
624#, c-format 665#, c-format
625msgid "Failed to create worker inter-thread communication channel: %s\n" 666msgid "Failed to create worker inter-thread communication channel: %s\n"
626msgstr "" 667msgstr ""
627 668
628#: src/microhttpd/daemon.c:6939 669#: src/microhttpd/daemon.c:7129
629msgid "" 670msgid ""
630"File descriptor for worker inter-thread communication channel exceeds " 671"File descriptor for worker inter-thread communication channel exceeds "
631"maximum value.\n" 672"maximum value.\n"
632msgstr "" 673msgstr ""
633 674
634#: src/microhttpd/daemon.c:6977 675#: src/microhttpd/daemon.c:7167
635msgid "MHD failed to initialize cleanup connection mutex.\n" 676msgid "MHD failed to initialize cleanup connection mutex.\n"
636msgstr "" 677msgstr ""
637 678
638#: src/microhttpd/daemon.c:6994 679#: src/microhttpd/daemon.c:7184
639#, c-format 680#, c-format
640msgid "Failed to create pool thread: %s\n" 681msgid "Failed to create pool thread: %s\n"
641msgstr "" 682msgstr ""
642 683
643#: src/microhttpd/daemon.c:7183 src/microhttpd/daemon.c:7216 684#: src/microhttpd/daemon.c:7373 src/microhttpd/daemon.c:7406
644msgid "MHD_stop_daemon() called while we have suspended connections.\n" 685msgid "MHD_stop_daemon() called while we have suspended connections.\n"
645msgstr "" 686msgstr ""
646 687
647#: src/microhttpd/daemon.c:7255 src/microhttpd/daemon.c:7353 688#: src/microhttpd/daemon.c:7445 src/microhttpd/daemon.c:7543
648#: src/microhttpd/daemon.c:7391 689#: src/microhttpd/daemon.c:7581
649msgid "Failed to signal shutdown via inter-thread communication channel.\n" 690msgid "Failed to signal shutdown via inter-thread communication channel.\n"
650msgstr "" 691msgstr ""
651 692
652#: src/microhttpd/daemon.c:7328 693#: src/microhttpd/daemon.c:7518
653msgid "MHD_stop_daemon() was called twice." 694msgid "MHD_stop_daemon() was called twice."
654msgstr "" 695msgstr ""
655 696
656#: src/microhttpd/daemon.c:7841 697#: src/microhttpd/daemon.c:8031
657msgid "Failed to initialize winsock.\n" 698msgid "Failed to initialize winsock.\n"
658msgstr "" 699msgstr ""
659 700
660#: src/microhttpd/daemon.c:7844 701#: src/microhttpd/daemon.c:8034
661msgid "Winsock version 2.2 is not available.\n" 702msgid "Winsock version 2.2 is not available.\n"
662msgstr "" 703msgstr ""
663 704
664#: src/microhttpd/daemon.c:7852 src/microhttpd/daemon.c:7856 705#: src/microhttpd/daemon.c:8042 src/microhttpd/daemon.c:8046
665msgid "Failed to initialise multithreading in libgcrypt.\n" 706msgid "Failed to initialise multithreading in libgcrypt.\n"
666msgstr "" 707msgstr ""
667 708
668#: src/microhttpd/daemon.c:7862 709#: src/microhttpd/daemon.c:8052
669msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer.\n" 710msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer.\n"
670msgstr "" 711msgstr ""
671 712
@@ -673,161 +714,223 @@ msgstr ""
673msgid "Close socket failed.\n" 714msgid "Close socket failed.\n"
674msgstr "" 715msgstr ""
675 716
676#: src/microhttpd/connection.c:835 717#: src/microhttpd/connection.c:140
677msgid "Closing connection (application reported error generating data).\n" 718msgid "The operation would block, retry later"
719msgstr ""
720
721#: src/microhttpd/connection.c:142
722msgid "The connection was forcibly closed by remote peer"
723msgstr ""
724
725#: src/microhttpd/connection.c:144
726msgid "The socket is not connected"
727msgstr ""
728
729#: src/microhttpd/connection.c:146
730msgid "Not enough system resources to serve the request"
678msgstr "" 731msgstr ""
679 732
680#: src/microhttpd/connection.c:884 733#: src/microhttpd/connection.c:148
681msgid "Closing connection (out of memory).\n" 734msgid "Bad FD value"
682msgstr "" 735msgstr ""
683 736
684#: src/microhttpd/connection.c:932 737#: src/microhttpd/connection.c:150
685msgid "Closing connection (application error generating response).\n" 738msgid "Argument value is invalid"
686msgstr "" 739msgstr ""
687 740
688#: src/microhttpd/connection.c:1574 741#: src/microhttpd/connection.c:152
742msgid "Argument value is not supported"
743msgstr ""
744
745#: src/microhttpd/connection.c:154
746msgid "The socket is no longer available for sending"
747msgstr ""
748
749#: src/microhttpd/connection.c:156
750msgid "TLS encryption or decryption error"
751msgstr ""
752
753#: src/microhttpd/connection.c:161
754msgid "Not an error code"
755msgstr ""
756
757#: src/microhttpd/connection.c:164
758msgid "Wrong error code value"
759msgstr ""
760
761#: src/microhttpd/connection.c:868 src/microhttpd/connection.c:962
762msgid "Closing connection (out of memory)."
763msgstr ""
764
765#: src/microhttpd/connection.c:913
766msgid "Closing connection (application reported error generating data)."
767msgstr ""
768
769#: src/microhttpd/connection.c:1010
770msgid "Closing connection (application error generating response)."
771msgstr ""
772
773#: src/microhttpd/connection.c:1653
689#, c-format 774#, c-format
690msgid "" 775msgid ""
691"Error processing request (HTTP response code is %u (`%s')). Closing " 776"Error processing request (HTTP response code is %u (`%s')). Closing "
692"connection.\n" 777"connection.\n"
693msgstr "" 778msgstr ""
694 779
695#: src/microhttpd/connection.c:1601 src/microhttpd/connection.c:2643 780#: src/microhttpd/connection.c:1680 src/microhttpd/connection.c:2722
696msgid "Closing connection (failed to queue response).\n" 781msgid "Closing connection (failed to queue response)."
697msgstr "" 782msgstr ""
698 783
699#: src/microhttpd/connection.c:1612 src/microhttpd/connection.c:3485 784#: src/microhttpd/connection.c:1691 src/microhttpd/connection.c:3708
700#: src/microhttpd/connection.c:3594 785msgid "Closing connection (failed to create response header)."
701msgid "Closing connection (failed to create response header).\n"
702msgstr "" 786msgstr ""
703 787
704#: src/microhttpd/connection.c:1658 src/microhttpd/connection.c:2803 788#: src/microhttpd/connection.c:1737 src/microhttpd/connection.c:2888
705#: src/microhttpd/connection.c:2871 src/microhttpd/connection.c:3258 789#: src/microhttpd/connection.c:2956 src/microhttpd/connection.c:3372
706#, c-format 790#, c-format
707msgid "In function %s handling connection at state: %s\n" 791msgid "In function %s handling connection at state: %s\n"
708msgstr "" 792msgstr ""
709 793
710#: src/microhttpd/connection.c:1876 794#: src/microhttpd/connection.c:1955
711msgid "Not enough memory in pool to allocate header record!\n" 795msgid "Not enough memory in pool to allocate header record!\n"
712msgstr "" 796msgstr ""
713 797
714#: src/microhttpd/connection.c:1923 798#: src/microhttpd/connection.c:2002
715msgid "Not enough memory in pool to parse cookies!\n" 799msgid "Not enough memory in pool to parse cookies!\n"
716msgstr "" 800msgstr ""
717 801
718#: src/microhttpd/connection.c:2154 src/microhttpd/connection.c:2358 802#: src/microhttpd/connection.c:2233 src/microhttpd/connection.c:2437
719msgid "Application reported internal error, closing connection.\n" 803msgid "Application reported internal error, closing connection."
720msgstr "" 804msgstr ""
721 805
722#: src/microhttpd/connection.c:2223 src/microhttpd/connection.c:2302 806#: src/microhttpd/connection.c:2302 src/microhttpd/connection.c:2381
723msgid "" 807msgid ""
724"Received malformed HTTP request (bad chunked encoding). Closing connection.\n" 808"Received malformed HTTP request (bad chunked encoding). Closing connection."
725msgstr "" 809msgstr ""
726 810
727#: src/microhttpd/connection.c:2366 811#: src/microhttpd/connection.c:2445
728msgid "libmicrohttpd API violation.\n" 812msgid "libmicrohttpd API violation.\n"
729msgstr "" 813msgstr ""
730 814
731#: src/microhttpd/connection.c:2382 815#: src/microhttpd/connection.c:2461
732msgid "" 816msgid ""
733"WARNING: incomplete upload processing and connection not suspended may " 817"WARNING: incomplete upload processing and connection not suspended may "
734"result in hung connection.\n" 818"result in hung connection.\n"
735msgstr "" 819msgstr ""
736 820
737#: src/microhttpd/connection.c:2456 821#: src/microhttpd/connection.c:2535
738msgid "Received malformed line (no colon). Closing connection.\n" 822msgid "Received malformed line (no colon). Closing connection."
739msgstr "" 823msgstr ""
740 824
741#: src/microhttpd/connection.c:2619 825#: src/microhttpd/connection.c:2698
742msgid "Received HTTP 1.1 request without `Host' header.\n" 826msgid "Received HTTP 1.1 request without `Host' header.\n"
743msgstr "" 827msgstr ""
744 828
745#: src/microhttpd/connection.c:2631 829#: src/microhttpd/connection.c:2710
746msgid "Closing connection (failed to create response).\n" 830msgid "Closing connection (failed to create response)."
831msgstr ""
832
833#: src/microhttpd/connection.c:2760
834msgid "Failed to parse `Content-Length' header. Closing connection.\n"
747msgstr "" 835msgstr ""
748 836
749#: src/microhttpd/connection.c:2781 837#: src/microhttpd/connection.c:2861
750msgid "Socket disconnected while reading request.\n" 838msgid "Socket disconnected while reading request."
751msgstr "" 839msgstr ""
752 840
753#: src/microhttpd/connection.c:2788 841#: src/microhttpd/connection.c:2868
754msgid "Connection socket is closed due to error when reading request.\n" 842#, c-format
843msgid "Connection socket is closed when reading request due to the error: %s\n"
755msgstr "" 844msgstr ""
756 845
757#: src/microhttpd/connection.c:2898 846#: src/microhttpd/connection.c:2983
758#, c-format 847#, c-format
759msgid "Failed to send data in request for %s.\n" 848msgid "Failed to send data in request for %s.\n"
760msgstr "" 849msgstr ""
761 850
762#: src/microhttpd/connection.c:2907 851#: src/microhttpd/connection.c:2992
763#, c-format 852#, c-format
764msgid "Sent 100 continue response: `%.*s'\n" 853msgid "Sent 100 continue response: `%.*s'\n"
765msgstr "" 854msgstr ""
766 855
767#: src/microhttpd/connection.c:2975 856#: src/microhttpd/connection.c:3063
768msgid "Connection was closed while sending response headers.\n" 857#, c-format
858msgid ""
859"Failed to send the response headers for the request for `%s'. Error: %s\n"
769msgstr "" 860msgstr ""
770 861
771#: src/microhttpd/connection.c:3028 862#: src/microhttpd/connection.c:3128
772msgid "Data offset exceeds limit.\n" 863msgid "Data offset exceeds limit.\n"
773msgstr "" 864msgstr ""
774 865
775#: src/microhttpd/connection.c:3038 866#: src/microhttpd/connection.c:3138
776#, c-format 867#, c-format
777msgid "Sent %d-byte DATA response: `%.*s'\n" 868msgid "Sent %d-byte DATA response: `%.*s'\n"
778msgstr "" 869msgstr ""
779 870
780#: src/microhttpd/connection.c:3055 871#: src/microhttpd/connection.c:3155
872#, c-format
873msgid "Failed to send the response body for the request for `%s'. Error: %s\n"
874msgstr ""
875
876#: src/microhttpd/connection.c:3187
781#, c-format 877#, c-format
782msgid "Failed to send data in request for `%s'.\n" 878msgid ""
879"Failed to send the chunked response body for the request for `%s'. Error: "
880"%s\n"
783msgstr "" 881msgstr ""
784 882
785#: src/microhttpd/connection.c:3085 src/microhttpd/connection.c:3115 883#: src/microhttpd/connection.c:3223
786msgid "Connection was closed while sending response body.\n" 884#, c-format
885msgid "Failed to send the footers for the request for `%s'. Error: %s\n"
787msgstr "" 886msgstr ""
788 887
789#: src/microhttpd/connection.c:3138 888#: src/microhttpd/connection.c:3252
790msgid "Internal error.\n" 889msgid "Internal error.\n"
791msgstr "" 890msgstr ""
792 891
793#: src/microhttpd/connection.c:3216 892#: src/microhttpd/connection.c:3330
794msgid "" 893msgid ""
795"Failed to signal end of connection via inter-thread communication channel.\n" 894"Failed to signal end of connection via inter-thread communication channel.\n"
796msgstr "" 895msgstr ""
797 896
798#: src/microhttpd/connection.c:3944 897#: src/microhttpd/connection.c:3599
898msgid "Closing connection (failed to create response header).\n"
899msgstr ""
900
901#: src/microhttpd/connection.c:4060
799msgid "Attempted to queue response on wrong thread!\n" 902msgid "Attempted to queue response on wrong thread!\n"
800msgstr "" 903msgstr ""
801 904
802#: src/microhttpd/connection.c:3956 905#: src/microhttpd/connection.c:4072
803msgid "" 906msgid ""
804"Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n" 907"Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n"
805msgstr "" 908msgstr ""
806 909
807#: src/microhttpd/connection.c:3966 910#: src/microhttpd/connection.c:4082
808msgid "Application used invalid status code for 'upgrade' response!\n" 911msgid "Application used invalid status code for 'upgrade' response!\n"
809msgstr "" 912msgstr ""
810 913
811#: src/microhttpd/response.c:969 914#: src/microhttpd/response.c:1096
812msgid "" 915msgid ""
813"Invalid response for upgrade: application failed to set the 'Upgrade' " 916"Invalid response for upgrade: application failed to set the 'Upgrade' "
814"header!\n" 917"header!\n"
815msgstr "" 918msgstr ""
816 919
817#: src/microhttpd/response.c:1010 920#: src/microhttpd/response.c:1139
818msgid "Failed to make loopback sockets non-blocking.\n" 921msgid "Failed to make loopback sockets non-blocking.\n"
819msgstr "" 922msgstr ""
820 923
821#: src/microhttpd/response.c:1029 924#: src/microhttpd/response.c:1158
822msgid "Failed to set SO_NOSIGPIPE on loopback sockets.\n" 925msgid "Failed to set SO_NOSIGPIPE on loopback sockets.\n"
823msgstr "" 926msgstr ""
824 927
825#: src/microhttpd/response.c:1049 928#: src/microhttpd/response.c:1178
826#, c-format 929#, c-format
827msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n" 930msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n"
828msgstr "" 931msgstr ""
829 932
830#: src/microhttpd/response.c:1130 933#: src/microhttpd/response.c:1259
831msgid "Error cleaning up while handling epoll error.\n" 934msgid "Error cleaning up while handling epoll error.\n"
832msgstr "" 935msgstr ""
833 936
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 5211d354..2ab208a0 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -87,12 +87,7 @@ extern "C"
87#endif 87#endif
88#endif 88#endif
89 89
90/* While we generally would like users to use a configure-driven 90/* If generic headers don't work on your platform, include headers
91 build process which detects which headers are present and
92 hence works on any platform, we use "standard" includes here
93 to build out-of-the-box for beginning users on common systems.
94
95 If generic headers don't work on your platform, include headers
96 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 91 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t',
97 'uint16_t', 'uint32_t', 'uint64_t', 'off_t', 'struct sockaddr', 92 'uint16_t', 'uint32_t', 'uint64_t', 'off_t', 'struct sockaddr',
98 'socklen_t', 'fd_set' and "#define MHD_PLATFORM_H" before 93 'socklen_t', 'fd_set' and "#define MHD_PLATFORM_H" before
@@ -135,7 +130,7 @@ typedef intptr_t ssize_t;
135 * they are parsed as decimal numbers. 130 * they are parsed as decimal numbers.
136 * Example: 0x01093001 = 1.9.30-1. 131 * Example: 0x01093001 = 1.9.30-1.
137 */ 132 */
138#define MHD_VERSION 0x00097207 133#define MHD_VERSION 0x00097300
139 134
140/** 135/**
141 * Operational results from MHD calls. 136 * Operational results from MHD calls.