| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
sys/queue.h
LICENSE: BSD 3-clause
(not _WIN32 specific)
|
|
|
|
| |
LiteSpeed ls-hpack v2.3.1
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
-Wno-implicit-fallthrough for ls-hpack on cygwin using recent gcc
|
|
|
|
| |
LiteSpeed ls-hpack v2.3.0
|
|
|
|
| |
(thx brad)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
define LSHPACK_DEC_CALC_HASH 0 to skip work whose results are not used
by lighttpd
|
|
|
|
| |
xxHash is provided separately by lighttpd src/algo_xxhash.[ch]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
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)
|