lib: reader/writer fixes

- clear writer paused bit when destroying writer stack
- remove the reader paused bit that turned out not to be a good idea

follow-up to b41c28e70a

Closes #22361
This commit is contained in:
Stefan Eissing 2026-07-21 10:30:42 +02:00 committed by Daniel Stenberg
parent 7ad33fe56f
commit ab8d771d31
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 1 additions and 1 deletions

View file

@ -109,7 +109,6 @@ struct SingleRequest {
* checks, pausing by client callbacks. */
struct {
struct Curl_creader *stack;
BIT(paused);
} reader;
struct bufq sendbuf; /* data which needs to be send to the server */
size_t sendbuf_hds_len; /* amount of header bytes in sendbuf */

View file

@ -53,6 +53,7 @@ static void cl_reset_writer(struct Curl_easy *data)
curlx_free(writer);
writer = data->req.writer.stack;
}
data->req.writer.paused = FALSE;
}
static void cl_reset_reader(struct Curl_easy *data)