mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:53:32 +03:00
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:
parent
a42b0957ab
commit
dc35631ef7
4 changed files with 89 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue