Browse Source

[core] update ls-hpack

LiteSpeed ls-hpack v2.3.0
master
Glenn Strauss 6 months ago
parent
commit
3392e8fb11
  1. 2
      src/ls-hpack/README.md
  2. 4
      src/ls-hpack/lshpack.c
  3. 6
      src/ls-hpack/lshpack.h

2
src/ls-hpack/README.md

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/litespeedtech/ls-hpack.svg?branch=master)](https://travis-ci.org/litespeedtech/ls-hpack)
[![Build Status](https://travis-ci.com/litespeedtech/ls-hpack.svg?branch=master)](https://travis-ci.com/litespeedtech/ls-hpack)
[![Build Status](https://api.cirrus-ci.com/github/litespeedtech/ls-hpack.svg)](https://cirrus-ci.com/github/litespeedtech/ls-hpack)
[![Build status](https://ci.appveyor.com/api/projects/status/6ev71ecmm3j2u9o5?svg=true)](https://ci.appveyor.com/project/litespeedtech/ls-hpack)

4
src/ls-hpack/lshpack.c

@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2018 LiteSpeed Technologies Inc
Copyright (c) 2018 - 2021 LiteSpeed Technologies Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -1549,6 +1549,8 @@ lshpack_dec_push_entry (struct lshpack_dec *dec,
#endif
memcpy(DTE_NAME(entry), lsxpack_header_get_name(xhdr), name_len);
memcpy(DTE_VALUE(entry), lsxpack_header_get_value(xhdr), val_len);
hdec_remove_overflow_entries(dec);
return 0;
}

6
src/ls-hpack/lshpack.h

@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2018 - 2020 LiteSpeed Technologies Inc
Copyright (c) 2018 - 2021 LiteSpeed Technologies Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -34,8 +34,8 @@ extern "C" {
#include "lsxpack_header.h"
#define LSHPACK_MAJOR_VERSION 2
#define LSHPACK_MINOR_VERSION 2
#define LSHPACK_PATCH_VERSION 1
#define LSHPACK_MINOR_VERSION 3
#define LSHPACK_PATCH_VERSION 0
#define lshpack_strlen_t lsxpack_strlen_t
#define LSHPACK_MAX_STRLEN LSXPACK_MAX_STRLEN

Loading…
Cancel
Save