-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ext/curl: Add CURLINFO_POSTTRANSFER_TIME_T
support
#15849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CI will skip the test because none of the default repos include curl 8.10, but I did run the tests on a custom curl build. I also intentionally did not add this to the |
seems useful additional info otherwise. |
ba873af
to
3d26eb6
Compare
look fine by me, kind of new feature tough. |
3d26eb6
to
1545c1d
Compare
Thank you for your review @devnexen. |
c4d792b
to
02bdd6f
Compare
Since it's a very minor change, I think I can merge this. Please resolve conflicts before merging. |
libcurl ref: [`CURLINFO_POSTTRANSFER_TIME_T`](https://curl.se/libcurl/c/CURLINFO_POSTTRANSFER_TIME_T.html) `CURLINFO_POSTTRANSFER_TIME_T` is a libcurl info option that returns the time it took to "post" the transfer. Available since libcurl 8.10.0 This value is also exposed as `posttransfer_time_us` in the `curl_getinfo()` return value when the `$option` parameter is not passed.
02bdd6f
to
ce13d49
Compare
Thank you @SakiTakamachi. I rebased and force-pushed. |
Thank you! |
Commit: php/php-src#15849 PHP.Watch: [PHP 8.4: Curl: `curl_getinfo` - `CURLINFO_POSTTRANSFER_TIME_T` support](https://php.watch/versions/8.4/CURLINFO_POSTTRANSFER_TIME_T)
Commit: php/php-src#15849 PHP.Watch: [PHP 8.4: Curl: `curl_getinfo` - `CURLINFO_POSTTRANSFER_TIME_T` support](https://php.watch/versions/8.4/CURLINFO_POSTTRANSFER_TIME_T)
Commit: php/php-src#15849 PHP.Watch: [PHP 8.4: Curl: `curl_getinfo` - `CURLINFO_POSTTRANSFER_TIME_T` support](https://php.watch/versions/8.4/CURLINFO_POSTTRANSFER_TIME_T)
Commit: php/php-src#15849 PHP.Watch: [PHP 8.4: Curl: `curl_getinfo` - `CURLINFO_POSTTRANSFER_TIME_T` support](https://php.watch/versions/8.4/CURLINFO_POSTTRANSFER_TIME_T)
Commit: php/php-src#15849 PHP.Watch: [PHP 8.4: Curl: `curl_getinfo` - `CURLINFO_POSTTRANSFER_TIME_T` support](https://php.watch/versions/8.4/CURLINFO_POSTTRANSFER_TIME_T)
libcurl ref:
CURLINFO_POSTTRANSFER_TIME_T
CURLINFO_POSTTRANSFER_TIME_T
is a libcurl info option that returns the time it took to "post" the transfer. Available since libcurl 8.10.0This value is also exposed as
posttransfer_time_us
in thecurl_getinfo()
return value when the$option
parameter is not passed.