| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2bc136d commit 0b8efea
16 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -362,6 +362,8 @@ LIBMRUBY_LIBS = @LIBMRUBY_LIBS@ | |||
| 362 | 362 | LIBNGHTTP3_CFLAGS = @LIBNGHTTP3_CFLAGS@ | |
| 363 | 363 | LIBNGHTTP3_LIBS = @LIBNGHTTP3_LIBS@ | |
| 364 | 364 | LIBNGTCP2_CFLAGS = @LIBNGTCP2_CFLAGS@ | |
| 365 | + LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS = @LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS@ | ||
| 366 | + LIBNGTCP2_CRYPTO_BORINGSSL_LIBS = @LIBNGTCP2_CRYPTO_BORINGSSL_LIBS@ | ||
| 365 | 367 | LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS = @LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS@ | |
| 366 | 368 | LIBNGTCP2_CRYPTO_OPENSSL_LIBS = @LIBNGTCP2_CRYPTO_OPENSSL_LIBS@ | |
| 367 | 369 | LIBNGTCP2_LIBS = @LIBNGTCP2_LIBS@ | |
@@ -408,6 +410,7 @@ PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@ | |||
| 408 | 410 | PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@ | |
| 409 | 411 | PYTHON_LIBS = @PYTHON_LIBS@ | |
| 410 | 412 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | |
| 413 | + PYTHON_PLATFORM_SITE_PKG = @PYTHON_PLATFORM_SITE_PKG@ | ||
| 411 | 414 | PYTHON_PREFIX = @PYTHON_PREFIX@ | |
| 412 | 415 | PYTHON_SITE_PKG = @PYTHON_SITE_PKG@ | |
| 413 | 416 | PYTHON_VERSION = @PYTHON_VERSION@ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -271,6 +271,8 @@ LIBMRUBY_LIBS = @LIBMRUBY_LIBS@ | |||
| 271 | 271 | LIBNGHTTP3_CFLAGS = @LIBNGHTTP3_CFLAGS@ | |
| 272 | 272 | LIBNGHTTP3_LIBS = @LIBNGHTTP3_LIBS@ | |
| 273 | 273 | LIBNGTCP2_CFLAGS = @LIBNGTCP2_CFLAGS@ | |
| 274 | + LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS = @LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS@ | ||
| 275 | + LIBNGTCP2_CRYPTO_BORINGSSL_LIBS = @LIBNGTCP2_CRYPTO_BORINGSSL_LIBS@ | ||
| 274 | 276 | LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS = @LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS@ | |
| 275 | 277 | LIBNGTCP2_CRYPTO_OPENSSL_LIBS = @LIBNGTCP2_CRYPTO_OPENSSL_LIBS@ | |
| 276 | 278 | LIBNGTCP2_LIBS = @LIBNGTCP2_LIBS@ | |
@@ -317,6 +319,7 @@ PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@ | |||
| 317 | 319 | PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@ | |
| 318 | 320 | PYTHON_LIBS = @PYTHON_LIBS@ | |
| 319 | 321 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | |
| 322 | + PYTHON_PLATFORM_SITE_PKG = @PYTHON_PLATFORM_SITE_PKG@ | ||
| 320 | 323 | PYTHON_PREFIX = @PYTHON_PREFIX@ | |
| 321 | 324 | PYTHON_SITE_PKG = @PYTHON_SITE_PKG@ | |
| 322 | 325 | PYTHON_VERSION = @PYTHON_VERSION@ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,14 +29,14 @@ | |||
| 29 | 29 | * @macro | |
| 30 | 30 | * Version number of the nghttp2 library release | |
| 31 | 31 | */ | |
| 32 | - #define NGHTTP2_VERSION "1.45.1" | ||
| 32 | + #define NGHTTP2_VERSION "1.47.0" | ||
| 33 | 33 | ||
| 34 | 34 | /** | |
| 35 | 35 | * @macro | |
| 36 | 36 | * Numerical representation of the version number of the nghttp2 library | |
| 37 | 37 | * release. This is a 24 bit number with 8 bits for major number, 8 bits | |
| 38 | 38 | * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203. | |
| 39 | 39 | */ | |
| 40 | - #define NGHTTP2_VERSION_NUM 0x012d01 | ||
| 40 | + #define NGHTTP2_VERSION_NUM 0x012f00 | ||
| 41 | 41 | ||
| 42 | 42 | #endif /* NGHTTP2VER_H */ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -99,7 +99,7 @@ void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem); | |||
| 99 | 99 | * |new_cap|. If extensions took place, buffer pointers in |buf| will | |
| 100 | 100 | * change. | |
| 101 | 101 | * | |
| 102 | - * This function returns 0 if it succeeds, or one of the followings | ||
| 102 | + * This function returns 0 if it succeeds, or one of the following | ||
| 103 | 103 | * negative error codes: | |
| 104 | 104 | * | |
| 105 | 105 | * NGHTTP2_ERR_NOMEM | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -654,8 +654,6 @@ int nghttp2_frame_unpack_goaway_payload2(nghttp2_goaway *frame, | |||
| 654 | 654 | var_gift_payloadlen = 0; | |
| 655 | 655 | } | |
| 656 | 656 | ||
| 657 | - payloadlen -= var_gift_payloadlen; | ||
| 658 | - | ||
| 659 | 657 | if (!var_gift_payloadlen) { | |
| 660 | 658 | var_gift_payload = NULL; | |
| 661 | 659 | } else { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ | |||
| 46 | 46 | #define NGHTTP2_MAX_FRAME_SIZE_MIN (1 << 14) | |
| 47 | 47 | ||
| 48 | 48 | #define NGHTTP2_MAX_PAYLOADLEN 16384 | |
| 49 | - /* The one frame buffer length for tranmission. We may use several of | ||
| 49 | + /* The one frame buffer length for transmission. We may use several of | ||
| 50 | 50 | them to support CONTINUATION. To account for Pad Length field, we | |
| 51 | 51 | allocate extra 1 byte, which saves extra large memcopying. */ | |
| 52 | 52 | #define NGHTTP2_FRAMEBUF_CHUNKLEN \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1263,6 +1263,8 @@ int nghttp2_hd_inflate_change_table_size( | |||
| 1263 | 1263 | return NGHTTP2_ERR_INVALID_STATE; | |
| 1264 | 1264 | } | |
| 1265 | 1265 | ||
| 1266 | + inflater->settings_hd_table_bufsize_max = settings_max_dynamic_table_size; | ||
| 1267 | + | ||
| 1266 | 1268 | /* It seems that encoder is not required to send dynamic table size | |
| 1267 | 1269 | update if the table size is not changed after applying | |
| 1268 | 1270 | SETTINGS_HEADER_TABLE_SIZE. RFC 7541 is ambiguous here, but this | |
@@ -1275,13 +1277,12 @@ int nghttp2_hd_inflate_change_table_size( | |||
| 1275 | 1277 | /* Remember minimum value, and validate that encoder sends the | |
| 1276 | 1278 | value less than or equal to this. */ | |
| 1277 | 1279 | inflater->min_hd_table_bufsize_max = settings_max_dynamic_table_size; | |
| 1278 | - } | ||
| 1279 | 1280 | ||
| 1280 | - inflater->settings_hd_table_bufsize_max = settings_max_dynamic_table_size; | ||
| 1281 | + inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; | ||
| 1281 | 1282 | ||
| 1282 | - inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; | ||
| 1283 | + hd_context_shrink_table_size(&inflater->ctx, NULL); | ||
| 1284 | + } | ||
| 1283 | 1285 | ||
| 1284 | - hd_context_shrink_table_size(&inflater->ctx, NULL); | ||
| 1285 | 1286 | return 0; | |
| 1286 | 1287 | } | |
| 1287 | 1288 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -189,6 +189,7 @@ static int map_resize(nghttp2_map *map, uint32_t new_tablelen, | |||
| 189 | 189 | nghttp2_map_bucket *new_table; | |
| 190 | 190 | nghttp2_map_bucket *bkt; | |
| 191 | 191 | int rv; | |
| 192 | + (void)rv; | ||
| 192 | 193 | ||
| 193 | 194 | new_table = | |
| 194 | 195 | nghttp2_mem_calloc(map->mem, new_tablelen, sizeof(nghttp2_map_bucket)); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ | |||
| 42 | 42 | #if defined(WIN32) | |
| 43 | 43 | /* Windows requires ws2_32 library for ntonl family functions. We | |
| 44 | 44 | define inline functions for those function so that we don't have | |
| 45 | - dependeny on that lib. */ | ||
| 45 | + dependency on that lib. */ | ||
| 46 | 46 | ||
| 47 | 47 | # ifdef _MSC_VER | |
| 48 | 48 | # define STIN static __inline | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,7 @@ struct nghttp2_outbound_item { | |||
| 111 | 111 | to this structure to avoid frequent memory allocation. */ | |
| 112 | 112 | nghttp2_ext_frame_payload ext_frame_payload; | |
| 113 | 113 | nghttp2_aux_data aux_data; | |
| 114 | - /* The priority used in priority comparion. Smaller is served | ||
| 114 | + /* The priority used in priority comparison. Smaller is served | ||
| 115 | 115 | earlier. For PING, SETTINGS and non-DATA frames (excluding | |
| 116 | 116 | response HEADERS frame) have dedicated cycle value defined above. | |
| 117 | 117 | For DATA frame, cycle is computed by taking into account of | |
| Back | FazBrowse Home | New Git URL |
0 commit comments