quiche: first working HTTP/3 request

- enable debug log
 - fix use of quiche API
 - use download buffer
 - separate header/body

Closes #4193
This commit is contained in:
Daniel Stenberg 2019-08-05 15:17:31 +02:00
parent a42b0957ab
commit dc35631ef7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 89 additions and 31 deletions

View file

@ -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