ngtcp2: accept upload via callback

Closes #4256
This commit is contained in:
Daniel Stenberg 2019-08-22 14:08:18 +02:00
parent 32d64b2e87
commit 0a5d28fa2e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 153 additions and 19 deletions

View file

@ -942,7 +942,9 @@ CURLcode Curl_done_sending(struct connectdata *conn,
{
k->keepon &= ~KEEP_SEND; /* we're done writing */
/* These functions should be moved into the handler struct! */
Curl_http2_done_sending(conn);
Curl_quic_done_sending(conn);
if(conn->bits.rewindaftersend) {
CURLcode result = Curl_readrewind(conn);