http2: force "drainage" of streams

... which is necessary since the socket won't be readable but there is
data waiting in the buffer.
This commit is contained in:
Daniel Stenberg
2015-04-30 08:20:49 +02:00
parent 7bbac214f5
commit 01e1bdb10c
7 changed files with 123 additions and 57 deletions

View File

@@ -1500,6 +1500,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
break;
}
DEBUGF(infof(data, "%s:%d call Curl_readwrite\n", __func__, __LINE__));
/* read/write data if it is ready to do so */
result = Curl_readwrite(data->easy_conn, &done);