mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
http2: force "drainage" of streams
... which is necessary since the socket won't be readable but there is data waiting in the buffer.
This commit is contained in:
parent
7bbac214f5
commit
01e1bdb10c
7 changed files with 123 additions and 57 deletions
|
|
@ -169,6 +169,7 @@ struct HTTP {
|
|||
|
||||
char *mem; /* points to a buffer in memory to store received data */
|
||||
size_t len; /* size of the buffer 'mem' points to */
|
||||
size_t memlen; /* size of data copied to mem */
|
||||
};
|
||||
|
||||
typedef int (*sending)(void); /* Curl_send */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue