aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-12-09 00:09:24 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-12-09 00:09:24 +0100
commit680d5fd041a64c14b29de2eeb8b14d4cdb199b8b (patch)
tree1fbc7f24008050ee0937f0610e5e3d9744f82501 /lib/urldata.h
parent65d141e6da5c6003a1592bbc87ee550b0ad75c2f (diff)
http2: avoid logging neg "failure" if h2 was not requested
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index c359c06d0..a2dc1c362 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -288,6 +288,9 @@ struct ssl_connect_data {
current state of the connection. */
bool use;
ssl_connection_state state;
+#ifdef USE_NGHTTP2
+ bool asked_for_h2;
+#endif
#ifdef USE_SSLEAY
/* these ones requires specific SSL-types */
SSL_CTX* ctx;