mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:03:37 +03:00
http2: more stream-oriented data, stream ID 0 is for connections
This commit is contained in:
parent
2c238ea1fc
commit
84c6b6561f
4 changed files with 31 additions and 25 deletions
|
|
@ -317,8 +317,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->proto.httpc.closed);
|
||||
((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