Skip to content

[pull] master from php:master#1027

Merged
pull[bot] merged 1 commit into
turkdevops:masterfrom
php:master
Jun 24, 2026
Merged

[pull] master from php:master#1027
pull[bot] merged 1 commit into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 24, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Adds support for `CURLINFO_SIZE_DELIVERED`[^1] when built with libcurl
>= 8.20.0.

In `curl_getinfo()`, the `size_delivered` key or the direct return
value when the `$option` parameter is set to `CURLINFO_SIZE_DELIVERED`
returns the number of bytes delivered.

For transfers that do not use compression (`CURLOPT_ACCEPT_ENCODING`),
this value will be the same as `CURLINFO_SIZE_DOWNLOAD`. For encoded
transfers, the `CURLINFO_SIZE_DELIVERED` value will be the uncompressed
size while `CURLINFO_SIZE_DOWNLOAD` will be the compressed size over
network.

[^1]: https://github.com/curl/curl/blob/curl-8_20_0/docs/libcurl/opts/CURLINFO_SIZE_DELIVERED.md

Closes GH-22408.
@pull pull Bot locked and limited conversation to collaborators Jun 24, 2026
@pull pull Bot added the ⤵️ pull label Jun 24, 2026
@pull pull Bot merged commit fd8eaaf into turkdevops:master Jun 24, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant