diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-05-07 17:52:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 08:57:18 +0200 |
commit | d722138f29bda9386798fbd67c23a874f8992463 (patch) | |
tree | 28bcb93064d82248b6756690e8e968833c73ad29 /lib/http.h | |
parent | 0dc0de0351a43ac70fabf6032be76e822ad7f8b4 (diff) | |
download | curl-d722138f29bda9386798fbd67c23a874f8992463.tar.gz |
http2: Don't call nghttp2_session_mem_recv while it is paused by a stream
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h index 13fa1d99b..0b4aac343 100644 --- a/lib/http.h +++ b/lib/http.h @@ -201,6 +201,8 @@ struct http_conn { const uint8_t *upload_mem; /* points to a buffer to read from */ size_t upload_len; /* size of the buffer 'upload_mem' points to */ size_t upload_left; /* number of bytes left to upload */ + int32_t pause_stream_id; /* stream ID which paused + nghttp2_session_mem_recv */ /* this is a hash of all individual streams (SessionHandle structs) */ struct curl_hash streamsh; |