diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-08-28 16:44:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-08-28 17:59:34 +0200 |
commit | c3e906e9cd0f17be5ffc13ca258b87049da8d544 (patch) | |
tree | e71f56baf48cc40fafe0c93bff7f767d19027f39 /lib/http.h | |
parent | 3533def3d556e09f178e52e37b89fe8015b907f9 (diff) | |
download | curl-c3e906e9cd0f17be5ffc13ca258b87049da8d544.tar.gz |
http2: handle closed streams when uploading
Fixes #986
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 652900550..9fb669c9d 100644 --- a/lib/http.h +++ b/lib/http.h @@ -168,6 +168,7 @@ struct HTTP { const uint8_t *pausedata; /* pointer to data received in on_data_chunk */ size_t pauselen; /* the number of bytes left in data */ bool closed; /* TRUE on HTTP2 stream close */ + bool close_handled; /* TRUE if stream closure is handled by libcurl */ uint32_t error_code; /* HTTP/2 error code */ char *mem; /* points to a buffer in memory to store received data */ |