You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.7 KiB

  1. From 3392e8fb11de35778cad1fb112e6eb5916aa7de0 Mon Sep 17 00:00:00 2001
  2. From: Glenn Strauss <gstrauss@gluelogic.com>
  3. Date: Tue, 20 Apr 2021 22:04:56 -0400
  4. Subject: [PATCH] [core] update ls-hpack
  5. LiteSpeed ls-hpack v2.3.0
  6. Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
  7. ---
  8. src/ls-hpack/README.md | 2 +-
  9. src/ls-hpack/lshpack.c | 4 +++-
  10. src/ls-hpack/lshpack.h | 6 +++---
  11. 3 files changed, 7 insertions(+), 5 deletions(-)
  12. --- a/src/ls-hpack/lshpack.c
  13. +++ b/src/ls-hpack/lshpack.c
  14. @@ -1,7 +1,7 @@
  15. /*
  16. MIT License
  17. -Copyright (c) 2018 LiteSpeed Technologies Inc
  18. +Copyright (c) 2018 - 2021 LiteSpeed Technologies Inc
  19. Permission is hereby granted, free of charge, to any person obtaining a copy
  20. of this software and associated documentation files (the "Software"), to deal
  21. @@ -1549,6 +1549,8 @@ lshpack_dec_push_entry (struct lshpack_d
  22. #endif
  23. memcpy(DTE_NAME(entry), lsxpack_header_get_name(xhdr), name_len);
  24. memcpy(DTE_VALUE(entry), lsxpack_header_get_value(xhdr), val_len);
  25. +
  26. + hdec_remove_overflow_entries(dec);
  27. return 0;
  28. }
  29. --- a/src/ls-hpack/lshpack.h
  30. +++ b/src/ls-hpack/lshpack.h
  31. @@ -1,7 +1,7 @@
  32. /*
  33. MIT License
  34. -Copyright (c) 2018 - 2020 LiteSpeed Technologies Inc
  35. +Copyright (c) 2018 - 2021 LiteSpeed Technologies Inc
  36. Permission is hereby granted, free of charge, to any person obtaining a copy
  37. of this software and associated documentation files (the "Software"), to deal
  38. @@ -34,8 +34,8 @@ extern "C" {
  39. #include "lsxpack_header.h"
  40. #define LSHPACK_MAJOR_VERSION 2
  41. -#define LSHPACK_MINOR_VERSION 2
  42. -#define LSHPACK_PATCH_VERSION 1
  43. +#define LSHPACK_MINOR_VERSION 3
  44. +#define LSHPACK_PATCH_VERSION 0
  45. #define lshpack_strlen_t lsxpack_strlen_t
  46. #define LSHPACK_MAX_STRLEN LSXPACK_MAX_STRLEN