aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-05 15:17:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-06 07:39:21 +0200
commitdc35631ef7fe314c227ba0b8529a4e0f5f383f79 (patch)
tree828a024aba273587cbecad74ccfe0fbc6b39e8dc /lib/transfer.c
parenta42b0957ab31c971a79bfe5542b3017fd834ac49 (diff)
quiche: first working HTTP/3 request
- enable debug log - fix use of quiche API - use download buffer - separate header/body Closes #4193
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 7f2e6d1fb..ab662fbc0 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -497,7 +497,7 @@ static int data_pending(const struct connectdata *conn)
TRUE. The thing is if we read everything, then http2_recv won't
be called and we cannot signal the HTTP/2 stream has closed. As
a workaround, we return nonzero here to call http2_recv. */
- ((conn->handler->protocol&PROTO_FAMILY_HTTP) && conn->httpversion == 20);
+ ((conn->handler->protocol&PROTO_FAMILY_HTTP) && conn->httpversion >= 20);
#else
Curl_ssl_data_pending(conn, FIRSTSOCKET);
#endif