mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
ngtcp2: reset the oustanding send buffer again when drained
Closes #7538
This commit is contained in:
parent
dd37639df7
commit
09cea3fbef
@ -1676,6 +1676,12 @@ static ssize_t ngh3_stream_send(struct Curl_easy *data,
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Reset post upload buffer after resumed. */
|
||||
if(stream->upload_mem) {
|
||||
stream->upload_mem = NULL;
|
||||
stream->upload_len = 0;
|
||||
}
|
||||
|
||||
*curlcode = CURLE_OK;
|
||||
return sent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user