aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-05 11:07:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-05 14:32:32 +0200
commit3d4c0c8b9bc1d53df2e38961343f755a84579f83 (patch)
tree5d65b00a686516d8e6d70434810d7a4ab6f28a09 /lib/transfer.c
parent03bb48159831682fb39a92a6b62b7c4551ef63c8 (diff)
http2: return EOF when done uploading without known size
Fixes #982
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 5d5ee6be0..2fad6f32f 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -75,6 +75,7 @@
#include "multiif.h"
#include "connect.h"
#include "non-ascii.h"
+#include "http2.h"
/* The last 3 #include files should be in this order */
#include "curl_printf.h"
@@ -832,6 +833,8 @@ static CURLcode done_sending(struct connectdata *conn,
{
k->keepon &= ~KEEP_SEND; /* we're done writing */
+ Curl_http2_done_sending(conn);
+
if(conn->bits.rewindaftersend) {
CURLcode result = Curl_readrewind(conn);
if(result)