diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-01-29 22:53:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-29 22:53:08 +0100 |
commit | 803581d3e09136e43e7e3ef431302d160eea9df5 (patch) | |
tree | 6d8c4e735ae2ba55cc0f06078e1c01d40ea338b1 /lib | |
parent | 341d09bc2b0296b53a72d8050e5db2de9d55f7f4 (diff) |
HTTP2: reject nghttp2 versions before 0.3.0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c index c6588b577..ba088b712 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -37,6 +37,10 @@ /* include memdebug.h last */ #include "memdebug.h" +#if (NGHTTP2_VERSION_NUM < 0x000300) +#error too old nghttp2 version, upgrade! +#endif + /* * HTTP2 handler interface. This isn't added to the general list of protocols * but will be used at run-time when the protocol is dynamically switched from |