This is a SECURITY and feature release for the 1.x series of ReactPHP's HTTP component.
Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component
that affects all versions between v0.8.0 and v1.8.0. All users are encouraged to upgrade immediately.
(CVE-2023-26044 reported and fixed by @WyriHaximus)
Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections).
(#481, #484, #486 and #495 by @clue)
This feature offers significant performance improvements when sending many
requests to the same host as it avoids recreating the underlying TCP/IP
connection and repeating the TLS handshake for secure HTTPS requests.
$browser = new React\Http\Browser();
// Up to 300% faster! HTTP keep-alive is enabled by default
$response = React\Async\await($browser->get('https://httpbingo.org/redirect/6'));
assert($response instanceof Psr\Http\Message\ResponseInterface);
Feature: Add Request class to represent outgoing HTTP request message.
(#480 by @clue)
Feature: Preserve request method and body for 307 Temporary Redirect and 308 Permanent Redirect.
(#442 by @dinooo13)
Feature: Include buffer logic to avoid dependency on reactphp/promise-stream.
(#482 by @clue)
This is a SECURITY and feature release for the 1.x series of ReactPHP's HTTP component.
Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component
that affects all versions between v0.8.0 and v1.8.0. All users are encouraged to upgrade immediately.
(CVE-2023-26044 reported and fixed by @WyriHaximus)
Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections).
(#481, #484, #486 and #495 by @clue)
This feature offers significant performance improvements when sending many
requests to the same host as it avoids recreating the underlying TCP/IP
connection and repeating the TLS handshake for secure HTTPS requests.
$browser = new React\Http\Browser();
// Up to 300% faster! HTTP keep-alive is enabled by default
$response = React\Async\await($browser->get('https://httpbingo.org/redirect/6'));
assert($response instanceof Psr\Http\Message\ResponseInterface);
Feature: Add Request class to represent outgoing HTTP request message.
(#480 by @clue)
Feature: Preserve request method and body for 307 Temporary Redirect and 308 Permanent Redirect.
(#442 by @dinooo13)
Feature: Include buffer logic to avoid dependency on reactphp/promise-stream.
(#482 by @clue)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/knapsack-cloud/twig-renderer/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps react/http from 0.8.7 to 1.9.0.
Release notes
Sourced from react/http's releases.
... (truncated)
Changelog
Sourced from react/http's changelog.
... (truncated)
Commits
bb3154d
Prepare v1.9.0 release7189c6a
Merge pull request #495 from clue-labs/keep-alive-default684421f
Enable HTTP keep-alive by default for HTTP client5d2df79
Merge pull request #491 from WyriHaximus-labs/1.x-improve-multipart-limits-test2942434
Improve multipart limits test9681f76
Merge pull request from GHSA-95x4-j7vc-h8mfb3594f7
Stop parsing multipart request bodies once the configured limit of form field...436d84d
Merge pull request #487 from WyriHaximus-labs/1.x-template-params-can-only-ha...a221964
Merge pull request #486 from clue-labs/keep-aliveebaf6f1
AddConnection: close
default header to allow toggling keep-aliveYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show