HTTP2: reject nghttp2 versions before 0.3.0
This commit is contained in:
		| @@ -37,6 +37,10 @@ | |||||||
| /* include memdebug.h last */ | /* include memdebug.h last */ | ||||||
| #include "memdebug.h" | #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 |  * 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 |  * but will be used at run-time when the protocol is dynamically switched from | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Stenberg
					Daniel Stenberg