aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorAnders Bakken <agbakken@gmail.com>2016-11-14 15:32:00 -0800
committerDaniel Stenberg <daniel@haxx.se>2016-11-28 15:06:17 +0100
commit421f740164cf53ef9dfb6bc96d0b6a8321b32fd5 (patch)
tree48163d29ba399896d614e06301cf1e559bf9df6b /lib/urldata.h
parenta387d881ecf1cfe8def1460fdf2faa3fdef66302 (diff)
http2: Fix crashes when parent stream gets aborted
Closes #1125
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index ccad53e04..595e797b7 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1280,6 +1280,11 @@ struct auth {
be RFC compliant */
};
+struct Curl_http2_dep {
+ struct Curl_http2_dep *next;
+ struct Curl_easy *data;
+};
+
struct UrlState {
/* Points to the connection cache */
@@ -1747,6 +1752,8 @@ struct UserDefined {
struct Curl_easy *stream_depends_on;
bool stream_depends_e; /* set or don't set the Exclusive bit */
int stream_weight;
+
+ struct Curl_http2_dep *stream_dependents;
};
struct Names {