From 01e1bdb10ce613d4a94fc618819156fc61d2f419 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Apr 2015 08:20:49 +0200 Subject: http2: force "drainage" of streams ... which is necessary since the socket won't be readable but there is data waiting in the buffer. --- lib/urldata.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index db8b1e732..25fb98fe5 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1309,6 +1309,10 @@ struct UrlState { curl_off_t infilesize; /* size of file to upload, -1 means unknown. Copied from set.filesize at start of operation */ + + int drain; /* Increased when this stream has data to read, even if its + socket not necessarily is readable. Decreased when + checked. */ }; -- cgit v1.2.3