mirror of
https://github.com/curl/curl.git
synced 2026-05-13 16:26:22 +03:00
HTTP2: reject nghttp2 versions before 0.3.0
This commit is contained in:
parent
341d09bc2b
commit
803581d3e0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue