diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-30 08:20:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 08:57:17 +0200 |
commit | 01e1bdb10ce613d4a94fc618819156fc61d2f419 (patch) | |
tree | c62b9d5d854f89198b45d9a31125c7c24e62fb24 /lib/http.h | |
parent | 7bbac214f5be8ab87114a0e00db2ebd390e1c64b (diff) | |
download | curl-01e1bdb10ce613d4a94fc618819156fc61d2f419.tar.gz |
http2: force "drainage" of streams
... which is necessary since the socket won't be readable but there is
data waiting in the buffer.
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h index 50db486d2..a2f702d02 100644 --- a/lib/http.h +++ b/lib/http.h @@ -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 */ |