[core] update ls-hpackLiteSpeed ls-hpack v2.3.1
[core] check ifndef NDEBUG before setting NDEBUG
[core] compiler workarounds for very old gcc,glibcadded in gcc 4.6: #pragma GCC diagnostic push #pragma GCC diagnostic popadded in gcc 5 (?): fix for error: #pragma GCC diagnostic not allowe
[core] compiler workarounds for very old gcc,glibcadded in gcc 4.6: #pragma GCC diagnostic push #pragma GCC diagnostic popadded in gcc 5 (?): fix for error: #pragma GCC diagnostic not allowed inside functionsx-ref: https://redmine.lighttpd.net/boards/2/topics/10325
show more ...
[build] -Wno-implicit-fallthrough for ls-hpack-Wno-implicit-fallthrough for ls-hpack on cygwin using recent gcc
[core] update ls-hpackLiteSpeed ls-hpack v2.3.0
[core] STAILQ_* -> SIMPLEQ_* on OpenBSD(thx brad)
[core] silence coverity warnings (another try)
[core] silence coverity warnings in ls-hpackThe code originates from https://github.com/litespeedtech/ls-hpackand is explicitly documented as not needing to be initialized.x-ref: https://githu
[core] silence coverity warnings in ls-hpackThe code originates from https://github.com/litespeedtech/ls-hpackand 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 lighttpddefine LSHPACK_DEC_CALC_HASH 0 to skip work whose results are not usedby lighttpd
[build] remove ls-hpack/depsxxHash is provided separately by lighttpd src/algo_xxhash.[ch]
[build] modify build, includes for xxHash v0.8.0
[core] ls-hpack optimizationsdefine 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
[core] ls-hpack optimizationsdefine 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 optimize
[core] link in ls-hpack (EXPERIMENTAL)LiteSpeed ls-hpack v2.2.1XXX: might be better to include this as a git submodulebut minor code changes were made here for portability:- C99 flexible array
[core] link in ls-hpack (EXPERIMENTAL)LiteSpeed ls-hpack v2.2.1XXX: might be better to include this as a git submodulebut 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)