Stefan Eissing 4e4e8af1f6
lib: move 'done' parameter to SingleRequests
A transfer may do several `SingleRequest`s for its success. This happens
regularly for authentication, follows and retries on failed connections.
The "readwrite()" calls and functions connected to those carried a `bool
*done` parameter to indicate that the current `SingleRequest` is over.
This may happen before `upload_done` or `download_done` bits of
`SingleRequest` are set.

The problem with that is now `write_resp()` protocol handlers are
invoked in places where the `bool *done` cannot be passed up to the
caller. Instead of being a bool in the call chain, it needs to become a
member of `SingleRequest`, reflecting its state.

This removes the `bool *done` parameter and adds the `done` bit to
`SingleRequest` instead. It adds `Curl_req_soft_reset()` for using a
`SingleRequest` in a follow up, clearing `done` and other
flags/counters.

Closes #13096
2024-03-11 23:27:02 +01:00
..
2024-03-07 10:24:27 +01:00
2024-03-08 13:11:17 +01:00
2021-09-09 07:53:42 +02:00
2023-07-20 23:41:47 +02:00
2023-08-31 23:02:10 +00:00
2024-03-07 16:47:36 +01:00
2024-03-01 09:59:48 +01:00
2023-10-27 00:37:34 +00:00
2023-09-28 22:58:36 +02:00
2023-05-23 10:42:09 +02:00
2023-07-31 11:51:34 +02:00
2024-03-01 09:59:48 +01:00
2024-02-01 13:04:56 +01:00
2023-12-18 10:34:22 +01:00
2024-02-27 08:58:10 +01:00
2024-02-20 14:01:59 +01:00
2024-02-20 14:01:59 +01:00
2024-02-20 14:01:59 +01:00
2024-02-20 14:01:59 +01:00
2023-10-21 14:36:51 +02:00
2023-10-21 14:36:51 +02:00
2023-09-30 11:45:39 +02:00
2023-09-30 11:45:39 +02:00
2024-03-09 23:24:58 +01:00
2023-04-14 09:26:26 +02:00
2023-09-20 13:38:42 +02:00
2023-10-28 00:27:20 -04:00
2024-03-01 09:59:48 +01:00
2023-09-25 20:12:18 +02:00
2023-09-25 20:12:18 +02:00
2023-12-11 23:29:02 +01:00
2023-09-25 20:12:18 +02:00
2024-03-06 00:17:37 +01:00
2023-12-18 14:56:57 +00:00
2024-03-09 23:24:58 +01:00
2023-07-29 23:42:53 +02:00
2023-07-29 23:42:53 +02:00
2024-02-27 08:58:10 +01:00
2023-12-16 13:12:22 +00:00
2024-03-06 00:17:37 +01:00
2024-03-01 09:59:48 +01:00
2024-02-27 08:58:10 +01:00
2024-03-05 13:30:16 +01:00
2024-02-27 08:58:10 +01:00
2024-02-27 08:58:10 +01:00
2023-12-27 09:28:48 +01:00
2023-12-27 09:28:48 +01:00
2023-10-21 14:38:21 +02:00
2024-03-08 13:11:17 +01:00
2023-08-30 11:38:27 +02:00
2024-03-04 08:42:56 +01:00
2024-03-04 08:42:56 +01:00
2023-12-18 14:56:57 +00:00
2024-03-01 09:59:48 +01:00
2024-03-09 23:24:58 +01:00
2024-03-09 23:24:58 +01:00
2024-03-08 13:11:17 +01:00
2024-03-08 13:11:17 +01:00