mirror of
https://github.com/curl/curl.git
synced 2026-07-24 11:47:16 +03:00
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:
parent
7ad33fe56f
commit
ab8d771d31
2 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue