summaryrefslogtreecommitdiff
path: root/www
AgeCommit message (Collapse)AuthorFilesLines
2022-01-10py-rss2gen: convert to egg.mkwiz2-4/+8
2022-01-10py-moin: convert to egg.mkwiz2-4/+4
2022-01-10py-SimpleTAL: convert to egg.mkwiz2-5/+4
2022-01-10www/pear-HTTP_Request2: update to 2.5.1taca2-6/+6
2.5.0 (2020-07-12) Fixed * Socket adapter will now retry writing to socket rather than throw an exception if `fwrite()` call returns zero written bytes https://github.com/pear/HTTP_Request2/issues/23 Changed * Socket adapter will use only TLS 1.2 and TLS 1.3 (the latter is available on PHP 7.4+) * Upgraded tests for PHPUnit 9 compatibility, PHPUnit Polyfills package is used to run them on PHP 5.6 to PHP 8 * Test suite now runs on Github Actions rather than on Travis * Updated Public Suffix List 2.5.1 (2021-01-06) * The package runs under PHP 8.1 without `E_DEPRECATED` messages https://github.com/pear/HTTP_Request2/issues/25 * Updated Public Suffix List
2022-01-10py-jonpy: convert to egg.mkwiz2-5/+4
2022-01-10py-django14: convert to egg.mkwiz2-5/+4
2022-01-10py-nbconvert: convert to egg.mkwiz2-9/+10
2022-01-10py-landslide: convert to egg.mkwiz2-10/+11
2022-01-10*: Recursive revbump from boost 1.78.0ryoon3-6/+6
2022-01-09Revbump all Go packages after go117 updatebsiegert9-16/+18
2022-01-09loggerhead: convert to egg.mkwiz2-5/+6
2022-01-09egg.mk: remove --single-version-externally-managedwiz1-6/+1
setuptools has this as default when --root is used (since version 0.6a11).
2022-01-09varnish: update to 7.0.1tnn4-11/+12
New in varnish 7: - switch from PCRE to PCRE2 - RFC8941 Structured Fields - increased default values for memory settings - bit flags in ACLs
2022-01-08firefox: enable RLBox on aarch64tnn1-2/+2
2022-01-07curl: updated to 7.81.0adam3-8/+13
7.81.0 Changes: mime: use percent-escaping for multipart form field and file names Bugfixes: asyn-ares: ares_getaddrinfo needs no happy eyeballs timer azure: make the "w/o HTTP/SMTP/IMAP" build disable SSL proper BINDINGS: add cURL client for PostgreSQL BINDINGS: add one from Everything curl and update a link checksrc: detect more kinds of NULL comparisons we avoid CI: build examples for additional code verification CI: bump job to use mbedtls 3.1.0 cmake: don't set _USRDLL on a static Windows build cmake: prevent dev warning due to mismatched arg cmake: private identifiers use CURL_ instead of CMAKE_ prefix config.d: update documentation to match the path search configure: add -lm to configure for rustls build. configure: better diagnostics if hyper is built wrong configure: don't enable TLS when --without-* flags are used configure: fix runtime-lib detection on macOS curl.1: require "see also" for every documented option curl: improve error message for --head with -J curl_easy_cleanup.3: remove from multi handle first curl_easy_escape.3: call curl_easy_cleanup in example curl_easy_unescape.3: call curl_easy_cleanup in example curl_multi_init.3: fix EXAMPLE formatting curl_multi_perform/socket_action.3: clarify what errors mean curl_share_setopt.3: split out options into their own manpages CURLOPT_STDERR.3: does not work with libcurl as a win32 DLL digest: compute user:realm:pass digest w/o userhash docs/checksrc: Add documentation for STRERROR docs/cmdline-opts: do not say "protocols: all" docs/examples: workaround broken -Wno-pedantic-ms-format docs/HTTP3: describe how to setup a h3 reverse-proxy for testing docs/INSTALL.md: typo fix : added missing "get" verb docs/URL-SYNTAX.md: space is not fine in a given URL docs: add known bugs list to HTTP3.md docs: address proselint nits docs: consistent manpage SYNOPSIS docs: fix dead links, remove ECH.md docs: fix typo in OpenSSL 3 build instructions docs: Update the Reducing Size section example/progressfunc: remove code for old libcurls examples/multi-single.c: remove WAITMS() FAQ: typo fix : "yout" ➤ "your" ftp: disable warning 4706 in MSVC gen.pl: improve example output format github workflow: add wolfssl (removed from zuul) github/workflows: add mbedtls and mbedtls-clang (removed from zuul) gtls: check return code for gnutls_alpn_set_protocols hash: lazy-alloc the table in Curl_hash_add() http2:set_transfer_url() return early on OOM HTTP3: update quiche build instructions http: enable haproxy support for hyper backend http: Fix CURLOPT_HTTP200ALIASES http_proxy: don't close the socket (too early) insecure.d: detail its use for SFTP and SCP as well insecure.d: expand and clarify libcurl-multi.3: "SOCKS proxy handshakes" are not blocking libcurl-security.3: mention address and URL mitigations libssh2: fix error message for sha256 mismatch libtest: avoid "assignment within conditional expression" lift: ignore is a deprecated config option, use ignoreRules linkcheck.yml: add CI job that checks markdown links m4/curl-compilers: tell clang -Wno-pointer-bool-conversion Makefile.m32: rename -winssl option to -schannel and tidy up mbedTLS: add support for CURLOPT_CAINFO_BLOB mbedtls: fix CURLOPT_SSLCERT_BLOB mbedtls: fix private member designations for v3.1.0 misc: remove unused doh flags when CURL_DISABLE_DOH is defined misc: s/e-mail/email multi: cleanup the socket hash when destroying it multi: handle errors returned from socket/timer callbacks multi: shut down CONNECT in Curl_detach_connnection netrc.d: edit the .netrc example to look nicer ngtcp2: verify the server cert on connect (quictls) ngtcp2: verify the server certificate for the gnutls case nss:set_cipher don't clobber the cipher list openldap: implement STARTTLS openldap: process search query response messages one by one openldap: several minor improvements openldap: simplify ldif generation code openssl: check the return value of BIO_new() openssl: define HAVE_OPENSSL_VERSION for OpenSSL 1.1.0+ openssl: remove `RSA_METHOD_FLAG_NO_CHECK` handling if unavailable openssl: remove usage of deprecated `SSL_get_peer_certificate` openssl: use non-deprecated API to read key parameters page-footer: add a mention of how to report bugs to the man page page-footer: document more environment variables request.d: refer to 'method' rather than 'command' retry-all-errors.d: make the example complete runtests: make the SSH library a testable feature rustls: read of zero bytes might be okay rustls: remove comment about checking handshaking rustls: remove incorrect EOF check sha256/md5: return errors when init fails socks5: use appropriate ATYP for numerical IP address host names test1156: enable for hyper test1156: fixup the stdout check for Windows test1525: tweaked for hyper test1526: enable for hyper test1527: enable for hyper test1528: enable for hyper test1554: adjust for hyper test1556: adjust for hyper test302[12]: run only with the libssh2 backend test661: enable for hyper tests/CI.md: add more information on CI environments tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 tftp: mark protocol as not possible to do over CONNECT tool_findfile: updated search for a file in the homedir tool_operate: only set SSH related libcurl options for SSH URLs tool_operate: warn if too many output arguments were found url.c: fix the SIGPIPE comment for Curl_close url: check ssl_config when re-use proxy connection url: reduce ssl backend count for CURL_DISABLE_PROXY builds urlapi: accept port number zero urlapi: if possible, shorten given numerical IPv6 addresses urlapi: provide more detailed return codes urlapi: reject short file URLs version_win32: Check build number and platform id vtls/rustls: adapt to the updated rustls_version proto writeout: fix %{http_version} for HTTP/3 x509asn1: return early on errors zuul.d: update rustls-ffi to version 0.8.2 zuul: fix quiche build pointing to wrong Cargo
2022-01-07py-httpx: updated to 0.21.3adam2-6/+6
0.21.3 Fixed * Fix streaming uploads using `SyncByteStream` or `AsyncByteStream`. Regression in 0.12.2.
2022-01-07py-urllib3: updated to 1.26.8adam3-14/+10
1.26.8 (2022-01-07) ------------------- * Added extra message to``urllib3.exceptions.ProxyError`` when urllib3 detects that a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP. * Added a mention of the size of the connection pool when discarding a connection due to the pool being full. * Added explicit support for Python 3.11. * Deprecated the ``Retry.MAX_BACKOFF`` class property in favor of ``Retry.DEFAULT_MAX_BACKOFF`` to better match the rest of the default parameter names. ``Retry.MAX_BACKOFF`` is removed in v2.0. * Changed location of the vendored ``ssl.match_hostname`` function from ``urllib3.packages.ssl_match_hostname`` to ``urllib3.util.ssl_match_hostname`` to ensure Python 3.10+ compatibility after being repackaged by downstream distributors. * Fixed absolute imports, all imports are now relative.
2022-01-07firefox: add a whitespace to libpci.so SUBSTtnn2-18/+11
Fixes build failure on Linux when PKG_DEVELOPER due to substitution not having any effect on that platform otherwise. Also backport some mozilla-common.mk changes to firefox91.
2022-01-07fix typotnn1-2/+2
2022-01-06py-httpx: updated to 0.21.2adam2-7/+6
0.21.2 Fixed * HTTP/2 support for tunnelled proxy cases. * Improved the speed of large file uploads.
2022-01-06py-httpcore: updated to 0.14.4adam2-7/+6
0.14.4 - Support HTTP/2 on HTTPS tunnelling proxies. - Fix proxy headers missing on HTTP forwarding. - Only instantiate SSL context if required. - More robust HTTP/2 handling.
2022-01-05restish: update to 0.9.2.wiz3-264/+835
0.9.2 594e1c2 Merge pull request #68 from danielgtaylor/go-1.17 80d65fd fix: build/release using Go 1.17 to support arm64 0.9.1 817166b Merge pull request #62 from exoscale/load-with-authentication 0b4a77f Merge pull request #65 from danielgtaylor/normalize-numbers 3cdf6b3 Merge pull request #66 from danielgtaylor/decode-fix cfdc3e0 Merge pull request #67 from danielgtaylor/external-refs 66d87ff fix: Use API profile when loading definition f6d6c3d fix: allow external refs in OpenAPI loader 31fbbde fix: decode after MakeRequest 4d98487 fix: dependency updates 0cca88c fix: normalize numbers when filtering with JMESPath
2022-01-05*: set USE_PKG_RESOURCES for more packageswiz2-4/+8
2022-01-05*: set USE_PKG_RESOURCES for some more packageswiz3-6/+12
2022-01-05Fix build of e2guardian by applying commit from 5.4 branch:sborrill2-1/+17
Don't expand AM_INIT_AUTOMAKE multiple times. https://github.com/e2guardian/e2guardian/pull/705
2022-01-05py-django*: switch to USE_PKG_RESOURCESwiz4-8/+10
2022-01-05python: egg.mk: add USE_PKG_RESOURCES flagwiz29-59/+116
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
2022-01-05py-django*: add dependency on py-setuptoolswiz4-7/+12
These use pkg_resources. Noted by joerg. Bump PKGREVISION.
2022-01-04Update to 20220101. From the changelog:schmonz6-67/+49
- Rework from scratch - Instead of separate directories for regular files and gzipped content, use one directory for all (as publicfile did) - Add manual page
2022-01-04*: bump PKGREVISION for egg.mk userswiz218-232/+436
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04htmldoc: update to 1.9.14.fcambus2-6/+6
# Changes in HTMLDOC v1.9.14 - BMP image support is now deprecated and will be removed in a future release of HTMLDOC. - Fixed a potential stack overflow bug with GIF images. - Fixed the PDF creation date (Issue #455) - Fixed a potential stack overflow bug with BMP images (Issue #456) - Fixed a compile issue when libpng was not available (Issue #458)
2022-01-03kiwiki: add option for choosing markdown backendwiz2-4/+17
From Vladimir Stupin in PR 56602.
2022-01-02py-curl: finish conversion to egg.mkwiz2-7/+12
2022-01-02py-curl: Use egg.mk to fix packagingryoon2-4/+7
Bump PKGREVISION.
2022-01-02py-ipywidgets: convert to egg.mkwiz2-4/+9
Bump PKGREVISION.
2022-01-02py-nbformat: convert to egg.mkwiz3-4/+15
Bump PKGREVISION.
2022-01-01www/hackernews-tui: update to 0.9.0pin3-39/+171
What's Changed -Rewrite theme structs in #54 -Tweak application UI in #55 -[#51] add font highlight for CommentView and StoryView in #56 -Add story tag navigation commands in #57 -Add font highlighting for ArticleView in #58 -Update documentation and configuration structures in #59 -Integrate comfy_table in #60 -Pre-release v0.9.0 in #61 Breaking changes -There are a lot of breaking changes regarding the config options and the corresponding default values. It's highly recommended to read the config documentation or the example config file to migrate from the old versions.
2022-01-01py-gflags: convert to egg.mkwiz1-1/+3
Disable python 2.7 version, which would need a hack. Bump PKGREVISION.
2022-01-01grafana: Update to 8.3.3triaxx5-461/+501
upstream changes: ----------------- 8.3.3 (2021-12-10) Features and enhancements o BarChart: Use new data error view component to show actions in panel edit. #42474, @torkelo o CloudMonitor: Iterate over pageToken for resources. #42546, @iwysiu o Macaron: Prevent WriteHeader invalid HTTP status code panic. #42973, @bergquist Bug fixes o AnnoListPanel: Fix interpolation of variables in tags. #42318, @francoisdtm o CloudWatch: Allow queries to have no dimensions specified. #42800, @sunker o CloudWatch: Fix broken queries for users migrating from 8.2.4/8.2.5 to 8.3.0. #42611, @sunker o CloudWatch: Make sure MatchExact flag gets the right value. #42621, @sunker o Dashboards: Fix so that empty folders can be deleted from the manage dashboards/folders page. #42527, @ashharrison90 o InfluxDB: Improve handling of metadata query errors in InfluxQL. #42500, @gabor o Loki: Fix adding of ad hoc filters for queries with parser and line_format expressions. #42590, @ivanahuckova o Prometheus: Fix running of exemplar queries for non-histogram metrics. #42749, @ivanahuckova o Prometheus: Interpolate template variables in interval. #42637, @ivanahuckova o StateTimeline: Fix toolitp not showing when for frames with multiple fields. #42741, @dprokop o TraceView: Fix virtualized scrolling when trace view is opened in right pane in Explore. #42480, @autoric o Variables: Fix repeating panels for on time range changed variables. #42828, @hugohaggmark o Variables: Fix so queryparam option works for scoped variables. #42742, @hugohaggmark 8.3.2 (2021-12-10) o Security: Fixes CVE-2021-43813 and CVE-2021-43815. For more information, see our [blog](https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
2021-12-30php-nextcloud: Update to 23.0.0ryoon3-218/+248
Changelog: Version 23.0.0 November 30 2021 Nextcloud Hub II is here! The biggest improvements Nextcloud Hub II (Nextcloud 23) introduces are: * Nextcloud Files: 10x syncing performance improvements,delegate limited administration from admins to users; automatic user status setting * Nextcloud Groupware: external appointment booking, advanced room and resource search in Calendar and Mail improvements * Nextcloud Talk: background blur, device check screen and advanced permission management * Nextcloud Office: developed in collaboration with Collabora Productivity * Docker-All-In-One: easy installation and update * Nextcloud Backup: a peer-to-peer backup solution designed for private users * Nextcloud Clients: updates available for Desktop, Android and iOS clients There are many more new features and changes like integration of Unified Search, User Profile and User status in our mobile apps, emoji picker in Text, updates to Deck and much more.
2021-12-30py-django-treebeard: patch for Python 3.6 is no longer neededadam2-17/+1
2021-12-30py-sparqlwrapper: patch for Python 3.6 is no longer neededadam2-13/+4
2021-12-30py-idna_ssl: removed; outdatedadam5-39/+1
2021-12-30Do not mention Python 3.6adam1-6/+1
2021-12-30Forget about Python 3.6adam12-25/+24
2021-12-29nginx-devel: updated to 1.21.5adam2-6/+6
Changes with nginx 1.21.5 28 Dec 2021 *) Change: now nginx is built with the PCRE2 library by default. *) Change: now nginx always uses sendfile(SF_NODISKIO) on FreeBSD. *) Feature: support for sendfile(SF_NOCACHE) on FreeBSD. *) Feature: the $ssl_curve variable. *) Bugfix: connections might hang when using HTTP/2 without SSL with the "sendfile" and "aio" directives.
2021-12-29webkit-gtk: Add a dependency to gst-plugins1-goodleot2-2/+5
webkit-gtk now needs "autoaudiosink" plugin part of gst-plugins1-good otherwise it aborts. Bump PKGREVISION.
2021-12-29libmicrohttpd: Update to 0.9.75nikita3-14/+13
ChangeLog: Sun 26 Dec 2021 20:30:00 MSK Releasing GNU libmicrohttpd 0.9.75 -EG December 2021 Fixed Makefile warning on MinGW. Fixed compiler warning on MinGW. Fixed "configure" portability (for NetBSD). MSVC project cosmetics. MSVC fixed project to fix linker warning. Fixed compiler warning on some platforms. Further improved test_client_put_stop to get stable results on all platforms. Added workaround for platforms (like OpenBSD) where system monotonic clocks may jump forward and back. Added more checks in test_large_put, increased timeout (was too small for this test). -EG Sun 19 Dec 2021 18:30:00 MSK Releasing GNU libmicrohttpd 0.9.74 -EG December 2021 Fixed doxy for MHD_suspend_connection(). Some code improvements for new test test_client_put_stop. Added special log message if thread creation failed due to system limits. Fully restructured new_connection_process_() to correctly handle errors, fixed missing decrement of number of daemon connections if any error encountered, fixed app notification of connection termination when app has not been notified about connection start, fixed (highly unlikely) reset of the list of connections if reached daemon's connections limit. configure: fixed some compiler warnings reported in config.log. Fixed tests on FreeBSD to support system-limited rate of RST packets and 'blackhole' system setting. -EG Fixed tests for libmagic to really use libmagic in examples. -CG Used tricks in code formatting to workaround uncrustify bugs. configure: improved compatibility with various shells. configure: added selective enable of sanitizers. Fixed compatibility with old GnuTLS versions. Fixed tests compatibility with old libcurl versions. Fixed busy-waiting in test_timeout (fixed CPU load spikes in the test). test_https_time_out: check rewritten, previously it is was no-op. test_upgrade{,_large}: fixed passing of socket value to GnuTLS on W32. Simplified Makefile for HTTPS tests. Added detection of old broken GnuTLS builds (on RHEL6 and clones) and disabled some tests broken with these builds. Muted compiler warnings with old libcurl versions. Reworked dlltool support: added support for weakened oversimplified half-broken llvm-dlltool Silenced MS lib tool warning and MS lib tool invocation. Added Makefiles rules for automatic regeneration of all required files if anything is missing. Added Makefile silent rules support for W32 RC and W32 static libs. Added local patches for autotools (mainly for libtool) to build MHD correctly on modern MinGW64/Clang. Updated HTTP headers macros from registry. -EG November 2021 Clarified comments and doxy for MHD_str* and related tests. MHD_uint32_to_strx(): rewritten for readability and minor optimization, used indexes instead of pointers. Documented in doxy how to use MHD_AccessHandlerCallback. mhd_sockets: added more network error codes. W32 socket pair: set TCP_NODELAY to avoid unwanted buffering and delays. Additional doxy fixes in microhttpd.h. Fixed blocking sockets setting in tests and examples for W32. Added checks for fcntl() results in tests and examples. Added series of tests based on simple HTTP client implementation developed for testing of MHD. Renamed 'early_response' connection flag to 'discard_request' and reworked handling of connection's flags. Clarified request termination reasons doxy, fixed reporting of MHD_REQUEST_TERMINATED_READ_ERROR (previously this code was not really used in reporting). Enforce all libcurl tests exit code to be zero or one. Rewritten client upload processing: removed redundant checks, fixed skipping of chunk closure when not data is not received yet, fixed skipping of the last LF in termination chunk, handle correctly chunk sizes with more than 16 digits (leading zeros are valid according to HTTP RFC), fixed handling of CRCR, LFCR, LFLF, and bare CR as single line delimiters, report error when invalid chunk format is received without waiting to receive (possibly missing) end of the line, reply to the client with special error if chunk size is too large to be handled by MHD (>16 EiB). Added error reply if client used too large request payload (>16 EiB). Fixed return value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, now it returns MHD_YES as W32 does not need sigpipe suppression. configure: reordered and improved headers detection. Some headers require other headers to be included before, now configure supports it. Added missing ifdef guard for <stdbool.h>. mhd_sockets: reordered includes for better compatibility. Some code readability and formatting improvements. -EG October 2021 Added test family test_toolarge to check correct handling of the buffers when the size of data is larger than free space. Fixed missing updated of read and write buffers sizes. Added detection and use of supported "noreturn" keyword for function declaration. It should help compiler and static analyser. Added support for leak sanitizer. Fixed analyser errors on W32. Partially reworked memory allocation from the pool, more robust implementation, always track read and write buffers. Added custom memory poisoning in memory pool with address sanitizer. Added missing update of the read buffer size. Addition for doxy for new behaviour of MHD_del_response_header(). Added two tests with non-standard symbols in requests. Removed double close of connection with error in headers processing. Respond to the client with error if chunked request has broken chunked encoding as required by HTTP RFC instead of just closing the connection. Fixed request headers processing. Do not recognize bare CR as end of line. Fixed processing of CRCR, bare CR, LFCR, and LFLF as end of the line for request chunked encoding. Now only CRLF or bare LF are recognized as end of line. Added Lawrence Sebald to the AUTHORS file (iovec-based responses). Check for PAGESIZE and PAGE_SIZE macros and check whether they can be used for static variable initialization. Include "MHD_config.h" before all other includes to set macros required to be set before standard includes. Chunked response: abort with error if application returns more data than requested. Monotonic clock: use only native clock on W32 as all other clocks are just wrappers. W32: fixed builds with MSVC, added projects for VS2022, added MSVC universal project that use latest available toolset, use C17 if supported. Chunked response: fixed calculation of number of bytes left to send. microhttpd.h: doxy clarifications for sockets polling. Updated HTTP statuses, methods, and headers names from the registries. Further improved doxy for MHD_add_response_header(). A few comments improvements and clarifications. Added internal connection's flag indicating discard of the request. -EG Websockets update by David Gausmann. -DG Fixed reported value for MHD_CONNECTION_INFO_CONNECTION_TIMEOUT. Minor code readability improvements in MHD_set_connection_option(). Improved doxy for MHD_get_timeout(). Memorypool: minor code improvements. -EG September 2021 Improved system includes headers detection and usage. Removed unused headers detection. Added indirect calculation of maximum values at compile time by using types size detection. These values are used only to mute compiler warnings. Fixed pre-compiler errors if various *_MAX macros defined with non-digits symbols not readable for pre-compiler. Limit number of used CPU cores in tests to 6, unless heavy tests are enabled. Disabled parallel tests with libcurl if heavy tests are enabled. configure: removed '--enable-sanitizer' and added '--enable-sanitizers' parameters. Added testing for supported sanitizers and enabling only supported sanitizers. Added support for run-time sanitizers settings for tests when sanitizers are enabled. Added support for undefined behavior sanitizer without run-time library. Fixed various undefined behavior sanitizer detected errors, improved portability. Fixed how bitwise NOT is used with enum, fixed portability. microhttpd.h: changed macros MHD_CONTENT_READER_* to use ssize_t. test_postprocessor: added more check, improved error reporting, added new test data. postprocessor: fixed undefined behavior (memcpy(), memmove() with zero size and NULL pointer). Updated copyright year in W32 DLLs. postprocessor: fixed empty key processing. test_postprocessor: added tests with hex-encoded values. postprocessor: fixed incomplete processing of the last part of hex-encoded value if data was broken into certain sized pieces. Used type specifiers for printf() from inttypes.h to improved compatibility with various run-time libs. Fallback to standard values if type specifiers are not defined. Added detection of used run-time library (MSVCRT/UCRT) on W32. testcurl: fixed incorrect case-insensitive match for method name. Method name must be checked by using case-sensitive match. microhttpd.h: clarified some doxy descriptions. Prevented potential double sending of error responses. Fixed application notification with MHD_REQUEST_TERMINATED_COMPLETED_OK when error response has been sent (MHD_REQUEST_TERMINATED_WITH_ERROR is used). Avoid trying to send error response if response is already being sent. Improved log error message when error response is processing. -EG August 2021 Silently drop "keep-alive" token from response "connection" header, "keep-alive" cannot be enforced and always enabled if possible. Further improved doxy for MHD_add_response_header(). Added detection of the "Date:" header in the response headers set by app at response forming time. Disallow space in response header name, allow tab in response header value. Added internal MHD_uint8_to_str_pad() function. Used internal MHD_uint8_to_str_pad() in datestamp generation function. Added detection and reporting of incorrect "Upgrade" responses. -EG Fixed short busy waiting (up to one second) when connection is going to be closed. -AI Minor improvement for test_callback, test_get_chunked Fixed chunked responses with known size. Added two more tests for chunked response. Fixed chunked responses with predefined data (without data callback). Fixed calculation of the buffer size for the next response chunk. Completely rewritten reply header build function. The old version had several levels of hacks, was unmaintainable, did not follow HTTP specification in details; fixed used caseless header matching where case-sensitive matching must be used; removed two passes of header building. New version use clear logic and can be extended when needed. Changed behaviour: "Connection: keep-alive" is not being sent for HTTP/1.1 connection (as per HTTP RFC). test_get_chunked: fixed error reporting. HTTPS tests: fixed memory leaks if function failed. libcurl tests: improved handling of curl multi_*. Added two tests for correct choice of "Keep-Alive" or "Close". Simplified Makefile for testcurl. Fixed select() error handling in tests. microhttpd.h: minor macro formatting Changed behaviour: if response size is unknown and chunked encoding is allowed, chunked encoding is used even for non-keep-alive connection as required by HTTP RFC. Added two more tests for chunked replies. Simplified keepalive_possible(); added new value for MHD_ConnKeepAlive, added third state "Upgrade". Changed behaviour: used HTTP/1.1 replies for HTTP/1.0 requests as required by HTTP RFC. HTTP/1.0 reply still can be enforced by response flag. Added more doxy for MHD_ResponseFlags, added new names with the same values as old names: MHD_RF_HTTP_1_0_COMPATIBLE_STRICT and MHD_RF_HTTP_1_0_SERVER. Added new value MHD_RF_SEND_KEEP_ALIVE_HEADER to enforce sending of "Connection: keep-alive" even for HTTP/1.1 clients when keep-alive is used. test_get_close_keep_alive: added more combinations of parameters to check. Added separate flag for chunked response in connection instead of reusing the same flag as for chunked request. Added new connection's flag "stop_with_error". Fixed empty first line processing: the request could be not processed unless something else kicks next processing the same connection again. Added new connection states: MHD_CONNECTION_REQ_LINE_RECEIVING, MHD_CONNECTION_FULL_REQ_RECEIVED, MHD_CONNECTION_START_REPLY to simplify states logic. Changed write buffer allocation logic: as connection buffer size is known and fixed, use initially use full buffer for writing and reduce size of part used for writing if another allocation from the same buffer needs to be done. Implemented helper function to automatically reduce the size of read or write part to allocate buffer for other needs. Added define of NDEBUG if neither _DEBUG nor NDEBUG are defined. As accepted sockets inherit non-blocking flag from listening socket on all platform except Linux, track this state to use less number of syscalls. Fixed compiler and static analyser warnings. Moved HTTPS tests helper file to the HTTPS tests directory. Minor Makefiles cleanup. Added support for new monotonic clock ids. Added new internal monotonic clock function with milliseconds accuracy. Fixed support of custom connection timeout in thread-per-connection mode. Added more error checking to test_timeout. microhttpd.h: removed duplicated macro. Refined timeouts handling. Switched from seconds resolution to milliseconds resolution, added automatic detection and support of low-resolution system clock to avoid busy-waiting at connection expiration. Added log message for too large timeout period (> 146 million years) with trim to supported values. -EG Wed 04 Aug 2021 06:56:52 PM CEST Introduce new MHD_CONNECTION_INFO_HTTP_STATUS. -CG July 2021 Added automatic response flags with detection when response is being formed. Added special processing for response "Connection" headers, combined multiple "Connection" headers into single header. Restructured MSVC project files. Changed MSVC project defaults to Vista+ (WinXP is still supported). Fixed copy-paste error in mhd_aligh.h, added support for MSVC. Added internal function for printing hex and decimals numbers. Reply chunked body handling fixes, used new internal functions instead of snprintf(). Added automatic response flag when app sets chunked encoding header. New internal function for chunked reply footer forming. Unification with reply header forming function just over-complicated things and made function hardly maintainable. Added new function MHD_get_reason_phrase_len_for(), related tests and updated scripts for response phrases. Added more tests for chunked replies. Added function to reset connection state after finishing processing of request-reply to prepare for the next request. Added even more tests for chunked replies. Added internal function for printing uint64_t decimal numbers. -EG June 2021 Tests: implemented checking of response footer. Fixed loss of incoming data if more than half of buffer is used for the next request data. Fixed completely broken calculation of request header size. Chunked response: do not ask app callback for more data then it is possible to process (more than 16 MBytes). Check and report if app used wrong response code (>999 or <100) Refuse to add second "Transfer-Encoding" header. HTTPS tests: check whether all libcurl function succeeded. HTTPS tests: implemented new detection of TLS backend. HTTPS tests: fixed tests with new TLS defaults (SSL forbidden). Implemented detection of basic HTTP methods, fixed wrong caseless matching for HTTP method names. MHD_create_response_*() functions: improved doxy. MHD_add_response_header: added detailed comment about automatic headers. Do not allow responses with 1xx codes for HTTP/1.0 requests. Fixed used order of headers: now user response headers are used in the same order as was added by application. Added new internal function MHD_get_response_element_n_(). Added detection of more compiler built-ins for bits rotations. Minor optimisation of caseless strings matching. Added MHD_str_remove_token_caseless_() function and tests. Added MHD_str_remove_tokens_caseless_() function and tests. -EG May 2021 Doxy description clarifications for MHD_get_timeout() and related functions. Added MHD_create_response_from_buffer_with_free_callback_cls(). Added SHA-1 calculation (required for WebSockets). Added new internal header mhd_aligh.h for checking alignment of variables. Fixed SHA-256 and MD5 calculation with unaligned data. Added tests for hashes with unaligned data. Used compiler built-ins for bits rotations. Added detection of HTTP version at early stage. Added early response of unsupported HTTP version. Fixed wrong caseless matches for HTTP version strings. Added calculation of error responses at compile time (avoided repeated strlen() for known data). -EG April 2021 New test for reply chunked encoding. -EG Mon 26 Apr 2021 02:09:46 PM CEST Importing experimental Websocket support by David Gausmann. -CG
2021-12-29www/php-concrete5: simplify condition for php-mcrypt dependencytaca1-2/+2
Simplify condition for php-mcrypt dependency. Note: current php-concrete5 support only php56, but newer version of Concrete5 or ConcreteCMS support newer version of PHP.
2021-12-29Retire of php73, PHP 7.3.x.taca10-20/+20