http2: call done_sending on end of upload

To make sure a HTTP/2 stream registers the end of stream.

Bug #4043 made me find this problem but this fix doesn't correct the
reported issue.

Closes #4068
This commit is contained in:
Daniel Stenberg 2019-06-24 11:21:26 +02:00
parent d331227cf0
commit 265f7f42f6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 15 additions and 6 deletions

View file

@ -57,6 +57,9 @@ CURLcode Curl_retry_request(struct connectdata *conn, char **url);
bool Curl_meets_timecondition(struct Curl_easy *data, time_t timeofdoc);
CURLcode Curl_get_upload_buffer(struct Curl_easy *data);
CURLcode Curl_done_sending(struct connectdata *conn,
struct SingleRequest *k);
/* This sets up a forthcoming transfer */
void
Curl_setup_transfer (struct Curl_easy *data,