-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
multi: fix timing metrics on connect failure #14204
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
multi: fix timing metrics on connect failure #14204
Conversation
Analysis of PR #14204: Test 1268 failed, Test 1471 failed, Test 1472 failed, Generated by Testclutch |
Several tests aren't expecting to see progress output in their stderr, so those should be updated to add --no-progress-meter or similar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test fails need attention
b95f918
to
c4583f6
Compare
On platforms without AsynchDNS, if name resolution fails for a transaction, CURLINFO_TOTAL_TIME (and all other timing metrics) return 0, which is rather misleading. This commit adds a final Curl_pgrsUpdate() call before returning to update the timing metrics.
c4583f6
to
df9aaf3
Compare
Tests fixed and passing now. |
Hm, I'm having second thoughts about this. It might upset a few people as it now (uslessly) outputs that progress bar in failure cases is never did before... |
To fix timing metric etc Co-authored-by: Justin Maggard Fixes #14204
I propose #14239 instead. It should get the same effect but without the progress callback/meter update. |
Sounds good to me, thanks. |
To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239
To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239
To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239
To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239
To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * develop (#316) * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create cmake-multi-platform.yml * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * develop (#317) * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Co-authored-by: بلال مسلوب <145295387+mesloubi2021@users.noreply.github.com> Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create c-cpp.yml * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * develop (#318) * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Co-authored-by: بلال مسلوب <145295387+mesloubi2021@users.noreply.github.com> Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * develop (#319) * multi: do a final progress update on connect failure To fix timing metric etc Co-authored-by: Justin Maggard Fixes curl#14204 Closes curl#14239 * CURLOPT_SSL_VERIFYHOST.md: refresh Move mentions of old behavior to the HISTORY section to make it easier to read about modern behavior. Added a MATCHING section. Closes curl#14241 * lib: Curl_posttransfer => multi_posttransfer Moved from transfer.c to multi.c as it was only used within multi.c Made a void, as it returned a fixed return code nothing checked. Closes curl#14240 * tool_cb_prg: output "flying saucers" with leading carriage return Because that is how the progress-bar is output, so when the progress-bar has been shown at least once and the information is reset, like for a redirect, there might be a moment where the size goes from known to unknown and then the flying saucerts are shown after a brief display of the progress-bar. It could previously cause accidental character leftovers on the right side of the bar when using a narrow display. Reported-by: Chris Webb Fixes curl#14213 Closes curl#14246 * conncache: connection shutdown, multi_socket handling - implement the socket hash user/reader/writer processing also for connections that are being shut down by the connection cache. - split out handling of current vs. last pollset socket event handling into a function available in other code parts - add `shutdown_poll` pollset to `connectdata` struct so that changes in the pollset can be recorded during shutdown. (The internal handle cannot keep it since it might be used for many connections) Reported-by: calvin2021y on github Fixes curl#14252 Closes curl#14257 * GHA: bump github/codeql-action from 3.25.11 to 3.25.13 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.13. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...2d79040) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes curl#14255 * docs/libcurl: add to cleanup docs that their inputs go invalid Reported-by: icy17 on github Fixes curl#14248 Closes curl#14258 * curl_easy_escape.md: move historic details to HISTORY Closes curl#14261 * THANKS: updates from the 8.9.0 release * RELEASE-NOTES: synced * RELEASE-PROCEDURE.md: remove the initial build step Because it is no longer needed to be done by a person as the dmaketgz script does it by itself. Removed two past release dates, added two new future ones Closes curl#14267 * RELEASE-NOTES: synced bumped to 8.9.1 * RELEASE-PROCEDURE.md: restore next release date Pointed-out-by: extrimexxx on github Bug: curl#14267 (comment) --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Co-authored-by: Daniel Stenberg <daniel@haxx.se> Co-authored-by: Stefan Eissing <stefan@eissing.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
On platforms without AsynchDNS, if name resolution fails for a transaction, CURLINFO_TOTAL_TIME (and all other timing metrics) return 0, which is rather misleading.
This commit adds a final Curl_pgrsUpdate() call before returning to update the timing metrics.