Tags: amphp/artax
Tags
v3.0.11 - Fixed issues with responses without `content-length` and without `transfer-encoding: chunked`. - Revert fix for v3.0.10, as this has been properly fixed in `amphp/byte-stream`. - Catch `ConnectException` from `amphp/socket` and throw `SocketException` instead. The exception was previously leaked, but undocumented and unexpected.
- Lazily parse captured TLS certificates. This improves performance … …and memory usage. Additionally, `openssl_x509_parse` currently leaks memory. This fix ensures it leaks only if explicitly requested (until the PHP bug is fixed). See https://bugs.php.net/bug.php?id=75363. - Small performance improvements for connections not using a proxy.
- Allow empty content type for multipart form fields. - Fail aborted requests correctly. - Apply transfer timeouts correctly (was previously a header timeout only). - Check for incomplete response bodies and error out in case of an incomplete body. - Close sockets if response body is not consumed instead of trying to silently consume it in the background, which might hang indefinitely (depending on the timeout).
PreviousNext