diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-24 11:21:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-24 23:11:37 +0200 |
commit | 265f7f42f678db4157e7d6f7f987aba01e71cfeb (patch) | |
tree | 94f2263232e44b630a95e5b4d16a2e139d3476b6 /lib/transfer.h | |
parent | d331227cf0a0f4a1ae4b97081ed2fd2c55164489 (diff) | |
download | curl-265f7f42f678db4157e7d6f7f987aba01e71cfeb.tar.gz |
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
Diffstat (limited to 'lib/transfer.h')
-rw-r--r-- | lib/transfer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/transfer.h b/lib/transfer.h index a9bff6348..ab7110a80 100644 --- a/lib/transfer.h +++ b/lib/transfer.h @@ -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, |