mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(nghttp2): Update nghttp2 lib to v1.58.0
This commit is contained in:
parent
b57653b21c
commit
e6330d9cdc
@ -2,6 +2,7 @@ set(srcs
|
||||
"nghttp2/lib/nghttp2_buf.c"
|
||||
"nghttp2/lib/nghttp2_callbacks.c"
|
||||
"nghttp2/lib/nghttp2_debug.c"
|
||||
"nghttp2/lib/nghttp2_extpri.c"
|
||||
"nghttp2/lib/nghttp2_frame.c"
|
||||
"nghttp2/lib/nghttp2_hd.c"
|
||||
"nghttp2/lib/nghttp2_hd_huffman.c"
|
||||
@ -16,11 +17,14 @@ set(srcs
|
||||
"nghttp2/lib/nghttp2_pq.c"
|
||||
"nghttp2/lib/nghttp2_priority_spec.c"
|
||||
"nghttp2/lib/nghttp2_queue.c"
|
||||
"nghttp2/lib/nghttp2_ratelim.c"
|
||||
"nghttp2/lib/nghttp2_rcbuf.c"
|
||||
"nghttp2/lib/nghttp2_session.c"
|
||||
"nghttp2/lib/nghttp2_stream.c"
|
||||
"nghttp2/lib/nghttp2_submit.c"
|
||||
"nghttp2/lib/nghttp2_time.c"
|
||||
"nghttp2/lib/nghttp2_version.c"
|
||||
"nghttp2/lib/sfparse.c"
|
||||
"port/http_parser.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8f7b008b158e12de0e58247afd170f127dbb6456
|
||||
Subproject commit e2bc59bec9004bca47df961cbbad20664d7e53b2
|
@ -29,7 +29,7 @@
|
||||
* @macro
|
||||
* Version number of the nghttp2 library release
|
||||
*/
|
||||
#define NGHTTP2_VERSION "v1.22.0"
|
||||
#define NGHTTP2_VERSION "1.58.0"
|
||||
|
||||
/**
|
||||
* @macro
|
||||
@ -37,6 +37,6 @@
|
||||
* release. This is a 24 bit number with 8 bits for major number, 8 bits
|
||||
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
|
||||
*/
|
||||
#define NGHTTP2_VERSION_NUM 0x012200
|
||||
#define NGHTTP2_VERSION_NUM 0x013a00
|
||||
|
||||
#endif /* NGHTTP2VER_H */
|
||||
|
@ -5,13 +5,18 @@
|
||||
|
||||
#define SIZEOF_INT_P 2
|
||||
|
||||
//#define DEBUGBUILD
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#include "string.h"
|
||||
|
||||
/* Define to 1 if you have the `clock_gettime' function. */
|
||||
#define HAVE_CLOCK_GETTIME 1
|
||||
|
||||
/* Define to 1 if you have the <time.h> header file. */
|
||||
#define HAVE_TIME_H 1
|
||||
|
||||
#if (!defined(nghttp_unlikely))
|
||||
#define nghttp_unlikely(Expression) !!(Expression)
|
||||
#define nghttp_unlikely(Expression) !!(Expression)
|
||||
#endif
|
||||
|
||||
#define nghttp_ASSERT(Expression) do{if (!(Expression)) printf("%d\n", __LINE__);}while(0)
|
||||
@ -19,12 +24,6 @@
|
||||
#define CU_ASSERT(a) nghttp_ASSERT(a)
|
||||
#define CU_ASSERT_FATAL(a) nghttp_ASSERT(a)
|
||||
|
||||
#if 1
|
||||
#define NGHTTP2_DEBUG_INFO() printf("%s %d\n", __FILE__, __LINE__)
|
||||
#else
|
||||
#define NGHTTP2_DEBUG_INFO()
|
||||
#endif
|
||||
|
||||
#define NGHTTP_PLATFORM_HTONS(_n) ((uint16_t)((((_n) & 0xff) << 8) | (((_n) >> 8) & 0xff)))
|
||||
#define NGHTTP_PLATFORM_HTONL(_n) ((uint32_t)( (((_n) & 0xff) << 24) | (((_n) & 0xff00) << 8) | (((_n) >> 8) & 0xff00) | (((_n) >> 24) & 0xff) ))
|
||||
|
||||
@ -33,4 +32,4 @@
|
||||
#define htonl(x) NGHTTP_PLATFORM_HTONL(x)
|
||||
#define ntohl(x) NGHTTP_PLATFORM_HTONL(x)
|
||||
|
||||
#endif
|
||||
#endif // __HAVE_CONFIG_H_
|
||||
|
@ -1,28 +1,22 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIEs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MIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB
|
||||
CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97
|
||||
nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt
|
||||
43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P
|
||||
T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4
|
||||
gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO
|
||||
BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR
|
||||
TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw
|
||||
DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr
|
||||
hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg
|
||||
06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF
|
||||
PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls
|
||||
YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk
|
||||
CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=
|
||||
-----END CERTIFICATE-----
|
||||
|
Loading…
Reference in New Issue
Block a user