Merge branch 'devel' into ponost/admin-if-17 * devel: (103 commits) Testsuite [WebDAV] [NT]: Special characters take 3. Testsuite [WebDAV] [NT]: Adjusted set of special characters some more. Testsuite [WebDAV]: Adjusted set of special characters. Admin IF: Some margin for the click area on the logo Testsuite [WebDAV]: Test special characters in if-headers. Version bumped to 6.3.30 by buildsystem. Roxen.lookup_real_path_case_insens: Support relative paths. Testsuite [WebDAV]: Complain if Connection: keep-alive is lost. HTTP [WebDAV]: Keep Connection: keep-alive more often. Testsuite [WebSockets]: Improved robustness. protocols/http.pike: Protection against aynchronous self destruction. [ARCH-356] HTTPClient: Minor facelift on a piece of code. [ARCH-356] HTTPClient: Removed superfluous code. [ARCH-356] HTTPClient: Added support for sending data in form a stream. [ARCH-356] HTTPClient: Added support for reusing sessions. [ARCH-356] HTTP [WebSockets]: Make Connection: upgrade survive. Updated translations. ConfigIF [Ports] [SSL/TLS]: Warn about use of RSA-encryption. ConfigIF [Ports] [SSL/TLS]: Changed filtering defaults. ConfigIF [Ports] [SSL/TLS]: Changed invalid cert to error. ...
Merge branch 'feature/ARCH-356-increase-performance' into 6.2 * feature/ARCH-356-increase-performance: protocols/http.pike: Protection against aynchronous self destruction. [ARCH-356] HTTPClient: Minor facelift on a piece of code. [ARCH-356] HTTPClient: Removed superfluous code. [ARCH-356] HTTPClient: Added support for sending data in form a stream. [ARCH-356] HTTPClient: Added support for reusing sessions. [ARCH-356]
Merge branch 'feature/ARCH-356-increase-performance' into devel * feature/ARCH-356-increase-performance: protocols/http.pike: Protection against aynchronous self destruction. [ARCH-356] HTTPClient: Minor facelift on a piece of code. [ARCH-356] HTTPClient: Removed superfluous code. [ARCH-356] HTTPClient: Added support for sending data in form a stream. [ARCH-356] HTTPClient: Added support for reusing sessions. [ARCH-356]
HTTPClient: Added support for reusing sessions. [ARCH-356]
HTTPClient: Added support for sending data in form a stream. [ARCH-356]
HTTPClient: Removed superfluous code. [ARCH-356]
HTTPClient: Minor facelift on a piece of code. [ARCH-356]
Added support for sending data in the form of a stream. [ARCH-356]
Added support for sending data in the form of a stream. [ARCH-356]]
Merge branch 'devel' into kg/WS-168-webdav * devel: (1803 commits) Loader [MariaDB]: Set sql_mode in my.cnf. DBManager: Use CREATE USER with MariaDB 10.2 and later. WebDAV: Use urn:uuid: namespace for locks. Version bumped to 6.2.94 by buildsystem. APIs: Roxen.lookup_real_path_case_insens() now assumes utf-8 fs. APIs: Improved ambiguity recovery in lookup_real_path_case_insens(). APIs: Roxen.lookup_real_path_case_insens() now survives NFD. FTP: Normalize filenames to NFC. APIs: find_dir() now normalizes paths to NFC. HTTP: Normalize paths to Unicode NFC. Fixes bug [WS-172] where an empty initial prestate issued an internal server error. Loader: Remove the global __pragma_save_parent__. Version bumped to 6.2.93 by buildsystem. Use string_to_utf8 rather than Charset.Encoder when possible. Added more verifications in test base class. [WS-168] Adding support for copy and move between different mount points. [WS-168] Broke out parent class from RoxenTest_webdav.pike [WS-168] Version bumped to 6.2.92 by buildsystem. Fixed FIXME comment in RoxenTest_webdav.pike. [WS-168] Version bumped to 6.2.91 by buildsystem. ...
Merge branch 'devel' into ponost/admin-if-17
HTTPClient: Now supports setting follow_redirects. You can now specify the max number of times redirects will be followed.
Merge branch 'devel' into kg/archive-client
HTTPClient: Added content-length header (if missing) if method is POST. The underlying Pike API doesn't seem to add the content-length automatically if it's not explicitly set. Some services requires it to be set to accept the (POST) request.
HTTPClient.pmod: Changed timed_async_fetch to async_fetch. Currently timed_async_fetch in Query.pike doesn't handle chunked transfer encodings. A temporary solution is to use async_fetch instead. Fixed a bug where non-string values in arbitrary headers would raise an error. It's now possible to send along extra arguments which will then be available in the result object.
HTTPClient: Turned off default debug mode.
HTTPClient.pmod: Changed the method signatures so that the first argument is the URL to fetch. The other arguments aren't always needed so it's unnecessary to instantiate an object if it's not needed. Also adds the host header to the request if it's not explicitly set already. This is due to a bug in Protocols.HTTP.Session where the port isn't set in the host header if the port isn't the standard port. A bug fix for that is checked in in Pike 8.1 not not yet in 8.0.
HTTPClient: Didn't have null check for "arguments" to "do_safe_method"
New module: HTTPClient. A HTTP client which aborts after x number of seconds. Try it, test it, suggest improvements, point out errors and what not...