summaryrefslogtreecommitdiff
path: root/lib/http2.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-07-17 00:29:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-07-20 22:58:42 +0200
commit7b9bc96c7716f34dbd1f525aefb77d74b8b0f528 (patch)
tree3815a1f09eb5c3fcf6ea1fb81aa1cceb1b28d197 /lib/http2.h
parent73af7bcd617a8c0312bd8a083daa5a8fad2c794e (diff)
downloadcurl-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/http2.h')
-rw-r--r--lib/http2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.h b/lib/http2.h
index f597c805e..21cd9b848 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -65,7 +65,7 @@ void Curl_http2_cleanup_dependencies(struct Curl_easy *data);
#define Curl_http2_request_upgrade(x,y) CURLE_UNSUPPORTED_PROTOCOL
#define Curl_http2_setup(x) CURLE_UNSUPPORTED_PROTOCOL
#define Curl_http2_switched(x,y,z) CURLE_UNSUPPORTED_PROTOCOL
-#define Curl_http2_setup_conn(x)
+#define Curl_http2_setup_conn(x) Curl_nop_stmt
#define Curl_http2_setup_req(x)
#define Curl_http2_init_state(x)
#define Curl_http2_init_userset(x)