summaryrefslogtreecommitdiff
path: root/src/ls-hpack
Commit message (Collapse)AuthorAgeFilesLines
* [core] _WIN32 port compatibility headersGlenn Strauss2023-05-032-0/+6
| | | | | | sys/queue.h LICENSE: BSD 3-clause (not _WIN32 specific)
* [core] update ls-hpackGlenn Strauss2023-01-044-21/+21
| | | | LiteSpeed ls-hpack v2.3.1
* [core] check ifndef NDEBUG before setting NDEBUGGlenn Strauss2022-12-071-0/+2
|
* [core] compiler workarounds for very old gcc,glibcGlenn Strauss2022-03-121-5/+5
| | | | | | | | | | | added in gcc 4.6: #pragma GCC diagnostic push #pragma GCC diagnostic pop added in gcc 5 (?): fix for error: #pragma GCC diagnostic not allowed inside functions x-ref: https://redmine.lighttpd.net/boards/2/topics/10325
* [build] -Wno-implicit-fallthrough for ls-hpackGlenn Strauss2021-12-151-0/+1
| | | | -Wno-implicit-fallthrough for ls-hpack on cygwin using recent gcc
* [core] update ls-hpackGlenn Strauss2021-04-203-5/+7
| | | | LiteSpeed ls-hpack v2.3.0
* [core] STAILQ_* -> SIMPLEQ_* on OpenBSDGlenn Strauss2020-10-261-0/+12
| | | | (thx brad)
* [core] silence coverity warnings (another try)Glenn Strauss2020-10-231-0/+1
|
* [core] silence coverity warnings (another try)Glenn Strauss2020-10-201-1/+1
|
* [core] silence coverity warnings in ls-hpackGlenn Strauss2020-10-201-1/+4
| | | | | | | | | The code originates from https://github.com/litespeedtech/ls-hpack and is explicitly documented as not needing to be initialized. x-ref: https://github.com/litespeedtech/ls-hpack/commit/634c69215f8646653bb4cb5cf448fb943008529f https://github.com/litespeedtech/ls-hpack/commit/d92883ca10f458b76168eee980f2ccb776917ad3
* [core] skip ls-hpack decode work unused by lighttpdGlenn Strauss2020-10-111-1/+5
| | | | | define LSHPACK_DEC_CALC_HASH 0 to skip work whose results are not used by lighttpd
* [build] remove ls-hpack/depsGlenn Strauss2020-10-112-1101/+0
| | | | xxHash is provided separately by lighttpd src/algo_xxhash.[ch]
* [build] modify build, includes for xxHash v0.8.0Glenn Strauss2020-10-111-1/+1
|
* [core] ls-hpack optimizationsGlenn Strauss2020-10-112-2/+8
| | | | | | | | | | | | define LSHPACK_DEC_HTTP1X_OUTPUT 0 lighttpd does not require HTTP/1.1 output compat from HPACK decoder ("field-name: value\r\n") define NDEBUG (in ls-hpack/lshpack.c) lighttpd spends upwards of 20% total lighttpd CPU time in HPACK encode/decode in h2load test on static file over cleartext (not TLS) Defining NDEBUG eliminates some asserts() and results in a small but measurable reduction in CPU usage
* [core] comment possible future ls-hpack optimizeGlenn Strauss2020-10-112-0/+7
|
* [core] link in ls-hpack (EXPERIMENTAL)Glenn Strauss2020-10-118-0/+8788
LiteSpeed ls-hpack v2.2.1 XXX: might be better to include this as a git submodule but minor code changes were made here for portability: - C99 flexible array members defined as a[] instead of a[0]) - pedantic compiler warnings (excess ';' and missing declarations) - deletion of large tables from ls-hpack/huff-tables.h (code size)