diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-07-17 00:29:11 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-07-20 22:58:42 +0200 |
commit | 7b9bc96c7716f34dbd1f525aefb77d74b8b0f528 (patch) | |
tree | 3815a1f09eb5c3fcf6ea1fb81aa1cceb1b28d197 /lib/urldata.h | |
parent | 73af7bcd617a8c0312bd8a083daa5a8fad2c794e (diff) | |
download | curl-7b9bc96c7716f34dbd1f525aefb77d74b8b0f528.tar.gz |
http2: several cleanups
- separate easy handle from connections better
- added asserts on a number of places
- added sanity check of pipelines for debug builds
Closes #2751
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 07eb48869..7d396f3f2 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -786,7 +786,7 @@ struct connectdata { other easy handle without careful consideration (== only for pipelining/multiplexing) and it cannot be used by another multi handle! */ -#define CONN_INUSE(c) ((c)->send_pipe.size || (c)->recv_pipe.size) +#define CONN_INUSE(c) ((c)->send_pipe.size + (c)->recv_pipe.size) /**** Fields set when inited and not modified again */ long connection_id; /* Contains a unique number to make it easier to |