Testing various configurations to reproduce this issue.
- See
file_metadata.txt
and generate test files that are similar and put them into./input
- Create S3 bucket and rename values for
$bucket
and$key
inrun.php
- Set AWS credential environment variables in your shell
- PHP 8.2.25
- curl 8.9.1
- OpenSSL 3.1.7
$ docker compose run --build --rm alpine
- PHP 8.2.24
- curl 7.88.1
- OpenSSL 3.0.15
$ docker compose run --build --rm debian
- PHP 8.2.24
- curl 8.10.1
- OpenSSL 3.0.15
$ docker compose run --build --rm debian.backport
Name | Impact |
---|---|
CURLOPT_FORBID_REUSE | Set to false resolves issue |
CURLOPT_MAXLIFETIME_CONN | Lowering value makes issue less likely to occur |