libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 9ddf07f81e0a86be1698a587f32f1988c09f9e39
parent e9493e0d3487b533e6ec77fabca29fe578cfb4bf
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  9 Jun 2019 20:29:37 +0300

Releasing 0.9.64

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 6+++---
Mpo/libmicrohttpd.pot | 364+++++++++++++++++++++++++++++++++++++++++--------------------------------------
Msrc/include/microhttpd.h | 2+-
4 files changed, 195 insertions(+), 180 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Sun Jun 09 2019 20:27:04 MSK + Releasing libmicrohttpd 0.9.64. -EG + Sun Jun 09 2019 20:03:16 MSK Updated HTTP headers, methods and status codes from registries, Added scripts to import new headers, methods and status codes from diff --git a/configure.ac b/configure.ac @@ -22,15 +22,15 @@ # AC_PREREQ([2.64]) LT_PREREQ([2.4.0]) -AC_INIT([GNU Libmicrohttpd],[0.9.63],[libmicrohttpd@gnu.org]) +AC_INIT([GNU Libmicrohttpd],[0.9.64],[libmicrohttpd@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) AC_CONFIG_HEADERS([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) -LIB_VERSION_CURRENT=62 +LIB_VERSION_CURRENT=63 LIB_VERSION_REVISION=0 -LIB_VERSION_AGE=50 +LIB_VERSION_AGE=51 AC_SUBST(LIB_VERSION_CURRENT) AC_SUBST(LIB_VERSION_REVISION) AC_SUBST(LIB_VERSION_AGE) diff --git a/po/libmicrohttpd.pot b/po/libmicrohttpd.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: GNU libmicrohttpd 0.9.63\n" +"Project-Id-Version: GNU libmicrohttpd 0.9.64\n" "Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n" -"POT-Creation-Date: 2019-02-10 17:12+0100\n" +"POT-Creation-Date: 2019-06-09 20:25+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -43,47 +43,47 @@ msgid "" "the size of the nonce array.\n" msgstr "" -#: src/microhttpd/digestauth.c:792 +#: src/microhttpd/digestauth.c:804 msgid "Failed to allocate memory for copy of URI arguments\n" msgstr "" -#: src/microhttpd/digestauth.c:932 +#: src/microhttpd/digestauth.c:946 msgid "Authentication failed, invalid timestamp format.\n" msgstr "" -#: src/microhttpd/digestauth.c:995 +#: src/microhttpd/digestauth.c:1009 msgid "Authentication failed, invalid format.\n" msgstr "" -#: src/microhttpd/digestauth.c:1005 +#: src/microhttpd/digestauth.c:1019 msgid "Authentication failed, invalid nc format.\n" msgstr "" -#: src/microhttpd/digestauth.c:1031 +#: src/microhttpd/digestauth.c:1045 msgid "Failed to allocate memory for auth header processing\n" msgstr "" -#: src/microhttpd/digestauth.c:1090 +#: src/microhttpd/digestauth.c:1105 msgid "Authentication failed, URI does not match.\n" msgstr "" -#: src/microhttpd/digestauth.c:1109 +#: src/microhttpd/digestauth.c:1124 msgid "Authentication failed, arguments do not match.\n" msgstr "" -#: src/microhttpd/digestauth.c:1264 +#: src/microhttpd/digestauth.c:1281 msgid "digest size missmatch" msgstr "" -#: src/microhttpd/digestauth.c:1356 +#: src/microhttpd/digestauth.c:1373 msgid "Could not register nonce (is the nonce array size zero?).\n" msgstr "" -#: src/microhttpd/digestauth.c:1381 +#: src/microhttpd/digestauth.c:1398 msgid "Failed to allocate memory for auth response header\n" msgstr "" -#: src/microhttpd/digestauth.c:1417 +#: src/microhttpd/digestauth.c:1434 msgid "Failed to add Digest auth header\n" msgstr "" @@ -92,694 +92,706 @@ msgstr "" msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n" msgstr "" -#: src/microhttpd/daemon.c:418 +#: src/microhttpd/daemon.c:434 msgid "Failed to add IP connection count node\n" msgstr "" -#: src/microhttpd/daemon.c:476 +#: src/microhttpd/daemon.c:492 msgid "Failed to find previously-added IP address\n" msgstr "" -#: src/microhttpd/daemon.c:482 +#: src/microhttpd/daemon.c:498 msgid "Previously-added IP address had counter of zero\n" msgstr "" -#: src/microhttpd/daemon.c:559 +#: src/microhttpd/daemon.c:599 msgid "" "Failed to setup x509 certificate/key: pre 3.X.X version of GnuTLS does not " "support setting key password" msgstr "" -#: src/microhttpd/daemon.c:613 +#: src/microhttpd/daemon.c:653 #, c-format msgid "Error: invalid credentials type %d specified.\n" msgstr "" -#: src/microhttpd/daemon.c:1012 +#: src/microhttpd/daemon.c:1052 #, c-format msgid "Maximum socket in select set: %d\n" msgstr "" -#: src/microhttpd/daemon.c:1073 +#: src/microhttpd/daemon.c:1113 msgid "" "MHD_get_fdset2() called with except_fd_set set to NULL. Such behavior is " "unsupported.\n" msgstr "" -#: src/microhttpd/daemon.c:1279 src/microhttpd/daemon.c:6469 +#: src/microhttpd/daemon.c:1319 src/microhttpd/daemon.c:6558 msgid "" "Initiated daemon shutdown while \"upgraded\" connection was not closed.\n" msgstr "" -#: src/microhttpd/daemon.c:1293 src/microhttpd/daemon.c:1528 +#: src/microhttpd/daemon.c:1333 src/microhttpd/daemon.c:1568 msgid "Failed to forward to application " msgstr "" -#: src/microhttpd/daemon.c:1460 src/microhttpd/daemon.c:1582 +#: src/microhttpd/daemon.c:1500 src/microhttpd/daemon.c:1622 msgid "Failed to forward to remote client " msgstr "" -#: src/microhttpd/daemon.c:1647 +#: src/microhttpd/daemon.c:1687 msgid "Error preparing select\n" msgstr "" -#: src/microhttpd/daemon.c:1681 src/microhttpd/daemon.c:1833 -#: src/microhttpd/daemon.c:1977 +#: src/microhttpd/daemon.c:1721 src/microhttpd/daemon.c:1873 +#: src/microhttpd/daemon.c:2017 #, c-format msgid "Error during select (%d): `%s'\n" msgstr "" -#: src/microhttpd/daemon.c:1730 src/microhttpd/daemon.c:1854 -#: src/microhttpd/daemon.c:2046 +#: src/microhttpd/daemon.c:1770 src/microhttpd/daemon.c:1894 +#: src/microhttpd/daemon.c:2086 #, c-format msgid "Error during poll: `%s'\n" msgstr "" -#: src/microhttpd/daemon.c:1817 src/microhttpd/daemon.c:1959 +#: src/microhttpd/daemon.c:1857 src/microhttpd/daemon.c:1999 msgid "Failed to add FD to fd_set\n" msgstr "" -#: src/microhttpd/daemon.c:2098 +#: src/microhttpd/daemon.c:2138 msgid "Processing thread terminating. Closing connection\n" msgstr "" -#: src/microhttpd/daemon.c:2127 +#: src/microhttpd/daemon.c:2167 msgid "" "Failed to signal thread termination via inter-thread communication channel." msgstr "" -#: src/microhttpd/daemon.c:2198 +#: src/microhttpd/daemon.c:2238 msgid "Internal server error. This should be impossible.\n" msgstr "" -#: src/microhttpd/daemon.c:2208 src/microhttpd/daemon.c:2236 +#: src/microhttpd/daemon.c:2248 src/microhttpd/daemon.c:2285 msgid "PSK not supported by this server.\n" msgstr "" -#: src/microhttpd/daemon.c:2222 +#: src/microhttpd/daemon.c:2262 msgid "PSK authentication failed: gnutls_malloc failed to allocate memory\n" msgstr "" -#: src/microhttpd/daemon.c:2318 src/microhttpd/daemon.c:6113 +#: src/microhttpd/daemon.c:2271 +msgid "PSK authentication failed: PSK too long\n" +msgstr "" + +#: src/microhttpd/daemon.c:2367 src/microhttpd/daemon.c:6202 #, c-format msgid "Socket descriptor larger than FD_SETSIZE: %d > %d\n" msgstr "" -#: src/microhttpd/daemon.c:2334 +#: src/microhttpd/daemon.c:2383 #, c-format msgid "Failed to set SO_NOSIGPIPE on accepted socket: %s\n" msgstr "" -#: src/microhttpd/daemon.c:2351 src/microhttpd/daemon.c:3164 +#: src/microhttpd/daemon.c:2400 src/microhttpd/daemon.c:3223 #, c-format msgid "Accepted connection on socket %d\n" msgstr "" -#: src/microhttpd/daemon.c:2363 src/microhttpd/daemon.c:2543 +#: src/microhttpd/daemon.c:2412 src/microhttpd/daemon.c:2602 msgid "Server reached connection limit. Closing inbound connection.\n" msgstr "" -#: src/microhttpd/daemon.c:2381 +#: src/microhttpd/daemon.c:2430 msgid "Connection rejected by application. Closing connection.\n" msgstr "" -#: src/microhttpd/daemon.c:2414 src/microhttpd/daemon.c:2434 -#: src/microhttpd/daemon.c:3750 +#: src/microhttpd/daemon.c:2463 src/microhttpd/daemon.c:2483 +#: src/microhttpd/daemon.c:3809 #, c-format msgid "Error allocating memory: %s\n" msgstr "" -#: src/microhttpd/daemon.c:2496 +#: src/microhttpd/daemon.c:2555 #, c-format msgid "Failed to setup TLS credentials: unknown credential type %d\n" msgstr "" -#: src/microhttpd/daemon.c:2505 +#: src/microhttpd/daemon.c:2564 msgid "Unknown credential type" msgstr "" -#: src/microhttpd/daemon.c:2607 src/microhttpd/daemon.c:4240 -#: src/microhttpd/daemon.c:4273 src/microhttpd/daemon.c:5418 -#: src/microhttpd/daemon.c:5435 src/microhttpd/connection.c:3857 -#: src/microhttpd/response.c:968 src/microhttpd/response.c:994 +#: src/microhttpd/daemon.c:2666 src/microhttpd/daemon.c:4299 +#: src/microhttpd/daemon.c:4332 src/microhttpd/daemon.c:5494 +#: src/microhttpd/daemon.c:5511 src/microhttpd/connection.c:4099 +#: src/microhttpd/response.c:1003 src/microhttpd/response.c:1029 #, c-format msgid "Call to epoll_ctl failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:2632 +#: src/microhttpd/daemon.c:2691 msgid "Failed to signal new connection via inter-thread communication channel." msgstr "" -#: src/microhttpd/daemon.c:2737 src/microhttpd/daemon.c:3248 -#: src/microhttpd/daemon.c:6359 src/microhttpd/connection.c:979 -#: src/microhttpd/connection.c:998 +#: src/microhttpd/daemon.c:2796 src/microhttpd/daemon.c:3307 +#: src/microhttpd/daemon.c:6448 src/microhttpd/connection.c:1190 +#: src/microhttpd/connection.c:1209 msgid "Failed to remove FD from epoll set\n" msgstr "" -#: src/microhttpd/daemon.c:2786 +#: src/microhttpd/daemon.c:2845 msgid "Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" msgstr "" -#: src/microhttpd/daemon.c:2792 +#: src/microhttpd/daemon.c:2851 msgid "Error: connection scheduled for \"upgrade\" cannot be suspended" msgstr "" -#: src/microhttpd/daemon.c:2815 +#: src/microhttpd/daemon.c:2874 msgid "Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n" msgstr "" -#: src/microhttpd/daemon.c:2829 +#: src/microhttpd/daemon.c:2888 msgid "Failed to signal resume via inter-thread communication channel." msgstr "" -#: src/microhttpd/daemon.c:2961 +#: src/microhttpd/daemon.c:3020 msgid "" "Failed to signal resume of connection via inter-thread communication channel." msgstr "" -#: src/microhttpd/daemon.c:3007 +#: src/microhttpd/daemon.c:3066 #, c-format msgid "Failed to set nonblocking mode on new client socket: %s\n" msgstr "" -#: src/microhttpd/daemon.c:3020 +#: src/microhttpd/daemon.c:3079 msgid "Failed to set noninheritable mode on new client socket.\n" msgstr "" -#: src/microhttpd/daemon.c:3029 +#: src/microhttpd/daemon.c:3088 msgid "Failed to reset buffering mode on new client socket.\n" msgstr "" -#: src/microhttpd/daemon.c:3102 +#: src/microhttpd/daemon.c:3161 #, c-format msgid "Error accepting connection: %s\n" msgstr "" -#: src/microhttpd/daemon.c:3119 +#: src/microhttpd/daemon.c:3178 msgid "" "Hit process or system resource limit at FIRST connection. This is really bad " "as there is no sane way to proceed. Will try busy waiting for system " "resources to become magically available.\n" msgstr "" -#: src/microhttpd/daemon.c:3133 +#: src/microhttpd/daemon.c:3192 #, c-format msgid "" "Hit process or system resource limit at %u connections, temporarily " "suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n" msgstr "" -#: src/microhttpd/daemon.c:3145 +#: src/microhttpd/daemon.c:3204 #, c-format msgid "Failed to set nonblocking mode on incoming connection socket: %s\n" msgstr "" -#: src/microhttpd/daemon.c:3157 +#: src/microhttpd/daemon.c:3216 msgid "Failed to set noninheritable mode on incoming connection socket.\n" msgstr "" -#: src/microhttpd/daemon.c:3205 src/microhttpd/daemon.c:6511 -#: src/microhttpd/daemon.c:6543 src/microhttpd/daemon.c:6643 +#: src/microhttpd/daemon.c:3264 src/microhttpd/daemon.c:6600 +#: src/microhttpd/daemon.c:6632 src/microhttpd/daemon.c:6732 msgid "Failed to join a thread\n" msgstr "" -#: src/microhttpd/daemon.c:3309 +#: src/microhttpd/daemon.c:3368 msgid "Illegal call to MHD_get_timeout\n" msgstr "" -#: src/microhttpd/daemon.c:3506 +#: src/microhttpd/daemon.c:3565 msgid "" "MHD_run_from_select() called with except_fd_set set to NULL. Such behavior " "is deprecated.\n" msgstr "" -#: src/microhttpd/daemon.c:3586 +#: src/microhttpd/daemon.c:3645 msgid "Could not obtain daemon fdsets" msgstr "" -#: src/microhttpd/daemon.c:3603 +#: src/microhttpd/daemon.c:3662 msgid "Could not add listen socket to fdset" msgstr "" -#: src/microhttpd/daemon.c:3631 +#: src/microhttpd/daemon.c:3690 msgid "Could not add control inter-thread communication channel FD to fdset" msgstr "" -#: src/microhttpd/daemon.c:3687 +#: src/microhttpd/daemon.c:3746 #, c-format msgid "select failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:3832 src/microhttpd/daemon.c:3979 +#: src/microhttpd/daemon.c:3891 src/microhttpd/daemon.c:4038 #, c-format msgid "poll failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:4109 src/microhttpd/daemon.c:4340 +#: src/microhttpd/daemon.c:4168 src/microhttpd/daemon.c:4399 #, c-format msgid "Call to epoll_wait failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:4292 src/microhttpd/daemon.c:4749 +#: src/microhttpd/daemon.c:4351 src/microhttpd/daemon.c:4808 msgid "Failed to remove listen FD from epoll set\n" msgstr "" -#: src/microhttpd/daemon.c:4757 +#: src/microhttpd/daemon.c:4816 msgid "Failed to signal quiesce via inter-thread communication channel" msgstr "" -#: src/microhttpd/daemon.c:4779 +#: src/microhttpd/daemon.c:4838 msgid "failed to signal quiesce via inter-thread communication channel" msgstr "" -#: src/microhttpd/daemon.c:4887 +#: src/microhttpd/daemon.c:4949 msgid "Warning: Too large timeout value, ignored.\n" msgstr "" -#: src/microhttpd/daemon.c:4928 +#: src/microhttpd/daemon.c:4988 msgid "" "Warning: Zero size, specified for thread pool size, is ignored. Thread pool " "is not used.\n" msgstr "" -#: src/microhttpd/daemon.c:4936 +#: src/microhttpd/daemon.c:4996 msgid "" "Warning: \"1\", specified for thread pool size, is ignored. Thread pool is " "not used.\n" msgstr "" -#: src/microhttpd/daemon.c:4948 +#: src/microhttpd/daemon.c:5008 #, c-format msgid "Specified thread pool size (%u) too big\n" msgstr "" -#: src/microhttpd/daemon.c:4959 +#: src/microhttpd/daemon.c:5019 msgid "" "MHD_OPTION_THREAD_POOL_SIZE option is specified but " "MHD_USE_INTERNAL_POLLING_THREAD flag is not specified.\n" msgstr "" -#: src/microhttpd/daemon.c:4968 +#: src/microhttpd/daemon.c:5028 msgid "" "Both MHD_OPTION_THREAD_POOL_SIZE option and MHD_USE_THREAD_PER_CONNECTION " "flag are specified.\n" msgstr "" -#: src/microhttpd/daemon.c:4985 src/microhttpd/daemon.c:4997 -#: src/microhttpd/daemon.c:5009 src/microhttpd/daemon.c:5021 -#: src/microhttpd/daemon.c:5062 src/microhttpd/daemon.c:5090 -#: src/microhttpd/daemon.c:5109 +#: src/microhttpd/daemon.c:5045 src/microhttpd/daemon.c:5057 +#: src/microhttpd/daemon.c:5069 src/microhttpd/daemon.c:5081 +#: src/microhttpd/daemon.c:5132 src/microhttpd/daemon.c:5160 +#: src/microhttpd/daemon.c:5179 #, c-format msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set\n" msgstr "" -#: src/microhttpd/daemon.c:5040 +#: src/microhttpd/daemon.c:5101 msgid "Error initializing DH parameters\n" msgstr "" -#: src/microhttpd/daemon.c:5052 +#: src/microhttpd/daemon.c:5111 +msgid "Diffie-Hellman parameters string too long\n" +msgstr "" + +#: src/microhttpd/daemon.c:5122 msgid "Bad Diffie-Hellman parameters format\n" msgstr "" -#: src/microhttpd/daemon.c:5079 +#: src/microhttpd/daemon.c:5149 #, c-format msgid "Setting priorities to `%s' failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5098 +#: src/microhttpd/daemon.c:5168 msgid "" "MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0\n" msgstr "" -#: src/microhttpd/daemon.c:5132 +#: src/microhttpd/daemon.c:5202 msgid "" "MHD_OPTION_LISTEN_SOCKET specified for daemon with MHD_USE_NO_LISTEN_SOCKET " "flag set.\n" msgstr "" -#: src/microhttpd/daemon.c:5181 +#: src/microhttpd/daemon.c:5238 +msgid "TCP fastopen is not supported on this platform\n" +msgstr "" + +#: src/microhttpd/daemon.c:5257 msgid "" "Flag MHD_USE_PEDANTIC_CHECKS is ignored because another behavior is " "specified by MHD_OPTION_STRICT_CLIENT.\n" msgstr "" -#: src/microhttpd/daemon.c:5313 +#: src/microhttpd/daemon.c:5389 #, c-format msgid "MHD HTTPS option %d passed to MHD compiled without GNUtls >= 3\n" msgstr "" -#: src/microhttpd/daemon.c:5326 +#: src/microhttpd/daemon.c:5402 #, c-format msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support\n" msgstr "" -#: src/microhttpd/daemon.c:5332 +#: src/microhttpd/daemon.c:5408 #, c-format msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?)\n" msgstr "" -#: src/microhttpd/daemon.c:5362 +#: src/microhttpd/daemon.c:5438 #, c-format msgid "Call to epoll_create1 failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5372 +#: src/microhttpd/daemon.c:5448 msgid "Failed to set noninheritable mode on epoll FD.\n" msgstr "" -#: src/microhttpd/daemon.c:5615 +#: src/microhttpd/daemon.c:5691 msgid "" "Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with " "MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was " "added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.\n" msgstr "" -#: src/microhttpd/daemon.c:5663 +#: src/microhttpd/daemon.c:5739 msgid "Using debug build of libmicrohttpd.\n" msgstr "" -#: src/microhttpd/daemon.c:5677 +#: src/microhttpd/daemon.c:5753 #, c-format msgid "Failed to create inter-thread communication channel: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5693 +#: src/microhttpd/daemon.c:5769 msgid "" "file descriptor for inter-thread communication channel exceeds maximum " "value\n" msgstr "" -#: src/microhttpd/daemon.c:5713 +#: src/microhttpd/daemon.c:5789 msgid "Specified value for NC_SIZE too large\n" msgstr "" -#: src/microhttpd/daemon.c:5727 +#: src/microhttpd/daemon.c:5803 #, c-format msgid "Failed to allocate memory for nonce-nc map: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5744 +#: src/microhttpd/daemon.c:5820 msgid "MHD failed to initialize nonce-nc mutex\n" msgstr "" -#: src/microhttpd/daemon.c:5764 +#: src/microhttpd/daemon.c:5840 msgid "MHD thread pooling only works with MHD_USE_INTERNAL_POLLING_THREAD\n" msgstr "" -#: src/microhttpd/daemon.c:5788 +#: src/microhttpd/daemon.c:5864 #, c-format msgid "Failed to create socket for listening: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5809 src/microhttpd/daemon.c:5828 -#: src/microhttpd/daemon.c:5851 src/microhttpd/daemon.c:5888 -#: src/microhttpd/daemon.c:5965 src/microhttpd/daemon.c:5996 +#: src/microhttpd/daemon.c:5885 src/microhttpd/daemon.c:5904 +#: src/microhttpd/daemon.c:5927 src/microhttpd/daemon.c:5964 +#: src/microhttpd/daemon.c:6041 src/microhttpd/daemon.c:6072 #, c-format msgid "setsockopt failed: %s\n" msgstr "" -#: src/microhttpd/daemon.c:5861 +#: src/microhttpd/daemon.c:5937 msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined\n" msgstr "" -#: src/microhttpd/daemon.c:5896 +#: src/microhttpd/daemon.c:5972 msgid "" "Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined\n" msgstr "" -#: src/microhttpd/daemon.c:5976 +#: src/microhttpd/daemon.c:6052 #, c-format msgid "Failed to bind to port %u: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6007 +#: src/microhttpd/daemon.c:6083 #, c-format msgid "Failed to listen for connections: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6034 +#: src/microhttpd/daemon.c:6114 #, c-format msgid "Failed to get listen port number: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6044 +#: src/microhttpd/daemon.c:6124 msgid "" "Failed to get listen port number (`struct sockaddr_storage` too small!?)\n" msgstr "" -#: src/microhttpd/daemon.c:6077 +#: src/microhttpd/daemon.c:6165 msgid "Unknown address family!\n" msgstr "" -#: src/microhttpd/daemon.c:6090 +#: src/microhttpd/daemon.c:6179 #, c-format msgid "Failed to set nonblocking mode on listening socket: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6132 +#: src/microhttpd/daemon.c:6221 msgid "" "Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n" msgstr "" -#: src/microhttpd/daemon.c:6146 src/microhttpd/daemon.c:6159 +#: src/microhttpd/daemon.c:6235 src/microhttpd/daemon.c:6248 msgid "MHD failed to initialize IP connection limit mutex\n" msgstr "" -#: src/microhttpd/daemon.c:6178 +#: src/microhttpd/daemon.c:6267 msgid "Failed to initialize TLS support\n" msgstr "" -#: src/microhttpd/daemon.c:6205 +#: src/microhttpd/daemon.c:6294 #, c-format msgid "Failed to create listen thread: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6253 +#: src/microhttpd/daemon.c:6342 #, c-format msgid "Failed to create worker inter-thread communication channel: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6264 +#: src/microhttpd/daemon.c:6353 msgid "" "File descriptor for worker inter-thread communication channel exceeds " "maximum value\n" msgstr "" -#: src/microhttpd/daemon.c:6289 +#: src/microhttpd/daemon.c:6378 msgid "MHD failed to initialize cleanup connection mutex\n" msgstr "" -#: src/microhttpd/daemon.c:6303 +#: src/microhttpd/daemon.c:6392 #, c-format msgid "Failed to create pool thread: %s\n" msgstr "" -#: src/microhttpd/daemon.c:6456 src/microhttpd/daemon.c:6487 +#: src/microhttpd/daemon.c:6545 src/microhttpd/daemon.c:6576 msgid "MHD_stop_daemon() called while we have suspended connections.\n" msgstr "" -#: src/microhttpd/daemon.c:6496 src/microhttpd/daemon.c:6625 +#: src/microhttpd/daemon.c:6585 src/microhttpd/daemon.c:6714 msgid "Failed to signal shutdown via inter-thread communication channel" msgstr "" -#: src/microhttpd/daemon.c:6588 +#: src/microhttpd/daemon.c:6677 msgid "Failed to signal shutdown via inter-thread communication channel." msgstr "" -#: src/microhttpd/daemon.c:7055 +#: src/microhttpd/daemon.c:7144 msgid "Failed to initialize winsock\n" msgstr "" -#: src/microhttpd/daemon.c:7058 +#: src/microhttpd/daemon.c:7147 msgid "Winsock version 2.2 is not available\n" msgstr "" -#: src/microhttpd/daemon.c:7066 src/microhttpd/daemon.c:7070 +#: src/microhttpd/daemon.c:7155 src/microhttpd/daemon.c:7159 msgid "Failed to initialise multithreading in libgcrypt\n" msgstr "" -#: src/microhttpd/daemon.c:7075 +#: src/microhttpd/daemon.c:7164 msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer\n" msgstr "" -#: src/microhttpd/mhd_sockets.h:261 +#: src/microhttpd/mhd_sockets.h:267 msgid "Close socket failed.\n" msgstr "" -#: src/microhttpd/connection.c:1104 +#: src/microhttpd/connection.c:1315 msgid "Closing connection (application reported error generating data)\n" msgstr "" -#: src/microhttpd/connection.c:1157 +#: src/microhttpd/connection.c:1368 msgid "Closing connection (out of memory)\n" msgstr "" -#: src/microhttpd/connection.c:1204 +#: src/microhttpd/connection.c:1415 msgid "Closing connection (application error generating response)\n" msgstr "" -#: src/microhttpd/connection.c:1786 +#: src/microhttpd/connection.c:2000 #, c-format msgid "" "Error processing request (HTTP response code is %u (`%s')). Closing " "connection.\n" msgstr "" -#: src/microhttpd/connection.c:1812 src/microhttpd/connection.c:2800 +#: src/microhttpd/connection.c:2026 src/microhttpd/connection.c:3038 msgid "Closing connection (failed to queue response)\n" msgstr "" -#: src/microhttpd/connection.c:1822 src/microhttpd/connection.c:3569 -#: src/microhttpd/connection.c:3692 +#: src/microhttpd/connection.c:2036 src/microhttpd/connection.c:3811 +#: src/microhttpd/connection.c:3934 msgid "Closing connection (failed to create response header)\n" msgstr "" -#: src/microhttpd/connection.c:1868 src/microhttpd/connection.c:2950 -#: src/microhttpd/connection.c:3018 src/microhttpd/connection.c:3334 +#: src/microhttpd/connection.c:2082 src/microhttpd/connection.c:3192 +#: src/microhttpd/connection.c:3260 src/microhttpd/connection.c:3576 #, c-format msgid "In function %s handling connection at state: %s\n" msgstr "" -#: src/microhttpd/connection.c:2080 +#: src/microhttpd/connection.c:2300 msgid "Not enough memory in pool to allocate header record!\n" msgstr "" -#: src/microhttpd/connection.c:2122 +#: src/microhttpd/connection.c:2346 msgid "Not enough memory in pool to parse cookies!\n" msgstr "" -#: src/microhttpd/connection.c:2346 src/microhttpd/connection.c:2531 +#: src/microhttpd/connection.c:2576 src/microhttpd/connection.c:2761 msgid "Application reported internal error, closing connection.\n" msgstr "" -#: src/microhttpd/connection.c:2399 src/microhttpd/connection.c:2476 +#: src/microhttpd/connection.c:2629 src/microhttpd/connection.c:2706 msgid "" "Received malformed HTTP request (bad chunked encoding). Closing connection.\n" msgstr "" -#: src/microhttpd/connection.c:2539 +#: src/microhttpd/connection.c:2769 msgid "libmicrohttpd API violation" msgstr "" -#: src/microhttpd/connection.c:2554 +#: src/microhttpd/connection.c:2784 msgid "" "WARNING: incomplete upload processing and connection not suspended may " "result in hung connection.\n" msgstr "" -#: src/microhttpd/connection.c:2624 +#: src/microhttpd/connection.c:2854 msgid "Received malformed line (no colon). Closing connection.\n" msgstr "" -#: src/microhttpd/connection.c:2778 +#: src/microhttpd/connection.c:3016 msgid "Received HTTP 1.1 request without `Host' header.\n" msgstr "" -#: src/microhttpd/connection.c:2789 +#: src/microhttpd/connection.c:3027 msgid "Closing connection (failed to create response)\n" msgstr "" -#: src/microhttpd/connection.c:2929 +#: src/microhttpd/connection.c:3171 msgid "Socket disconnected while reading request.\n" msgstr "" -#: src/microhttpd/connection.c:2935 +#: src/microhttpd/connection.c:3177 msgid "Connection socket is closed due to error when reading request.\n" msgstr "" -#: src/microhttpd/connection.c:3044 +#: src/microhttpd/connection.c:3286 #, c-format msgid "Failed to send data in request for %s.\n" msgstr "" -#: src/microhttpd/connection.c:3053 +#: src/microhttpd/connection.c:3295 #, c-format msgid "Sent 100 continue response: `%.*s'\n" msgstr "" -#: src/microhttpd/connection.c:3077 +#: src/microhttpd/connection.c:3319 msgid "Connection was closed while sending response headers.\n" msgstr "" -#: src/microhttpd/connection.c:3118 +#: src/microhttpd/connection.c:3360 msgid "Data offset exceeds limit" msgstr "" -#: src/microhttpd/connection.c:3127 +#: src/microhttpd/connection.c:3369 #, c-format msgid "Sent %d-byte DATA response: `%.*s'\n" msgstr "" -#: src/microhttpd/connection.c:3144 +#: src/microhttpd/connection.c:3386 #, c-format msgid "Failed to send data in request for `%s'.\n" msgstr "" -#: src/microhttpd/connection.c:3172 src/microhttpd/connection.c:3200 +#: src/microhttpd/connection.c:3414 src/microhttpd/connection.c:3442 msgid "Connection was closed while sending response body.\n" msgstr "" -#: src/microhttpd/connection.c:3223 +#: src/microhttpd/connection.c:3465 msgid "Internal error\n" msgstr "" -#: src/microhttpd/connection.c:3296 +#: src/microhttpd/connection.c:3538 msgid "" "Failed to signal end of connection via inter-thread communication channel" msgstr "" -#: src/microhttpd/connection.c:4043 +#: src/microhttpd/connection.c:4285 msgid "Attempted to queue response on wrong thread!\n" msgstr "" -#: src/microhttpd/connection.c:4054 +#: src/microhttpd/connection.c:4296 msgid "" "Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n" msgstr "" -#: src/microhttpd/connection.c:4063 +#: src/microhttpd/connection.c:4305 msgid "Application used invalid status code for 'upgrade' response!\n" msgstr "" -#: src/microhttpd/response.c:830 +#: src/microhttpd/response.c:865 msgid "" "Invalid response for upgrade: application failed to set the 'Upgrade' " "header!\n" msgstr "" -#: src/microhttpd/response.c:871 +#: src/microhttpd/response.c:906 msgid "Failed to make loopback sockets non-blocking.\n" msgstr "" -#: src/microhttpd/response.c:890 +#: src/microhttpd/response.c:925 msgid "Failed to set SO_NOSIGPIPE on loopback sockets.\n" msgstr "" -#: src/microhttpd/response.c:910 +#: src/microhttpd/response.c:945 #, c-format msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n" msgstr "" -#: src/microhttpd/response.c:991 +#: src/microhttpd/response.c:1026 msgid "Error cleaning up while handling epoll error" msgstr "" -#: src/microhttpd/mhd_itc.h:347 +#: src/microhttpd/mhd_itc.h:349 msgid "Failed to destroy ITC.\n" msgstr "" -#: src/microhttpd/basicauth.c:67 +#: src/microhttpd/basicauth.c:70 msgid "Error decoding basic authentication\n" msgstr "" -#: src/microhttpd/basicauth.c:77 +#: src/microhttpd/basicauth.c:80 msgid "Basic authentication doesn't contain ':' separator\n" msgstr "" -#: src/microhttpd/basicauth.c:95 +#: src/microhttpd/basicauth.c:98 msgid "Failed to allocate memory for password\n" msgstr "" -#: src/microhttpd/basicauth.c:158 +#: src/microhttpd/basicauth.c:161 msgid "Failed to add Basic auth header\n" msgstr "" diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -132,7 +132,7 @@ typedef intptr_t ssize_t; * Current version of the library. * 0x01093001 = 1.9.30-1. */ -#define MHD_VERSION 0x00096304 +#define MHD_VERSION 0x00096400 /** * MHD-internal return code for "YES".