|
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65, lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62 |
|
| #
7db817c5 |
| 21-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] extend pcre_keyvalue_ctx to pass more state
extend pcre_keyvalue_ctx to pass internal state
|
| #
6d47d4c6 |
| 20-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] use stack w/ pcre_exec unless save captures
use stack w/ pcre_exec unless saving captures from config conditions
reduce memory allocations per request where lighttpd.conf does not contain ur
[core] use stack w/ pcre_exec unless save captures
use stack w/ pcre_exec unless saving captures from config conditions
reduce memory allocations per request where lighttpd.conf does not contain url.redirect or url.rewrite rules where replacements reference a match of the enclosing lighttpd.conf condition (e.g. %0, %1, %2 ...)
move cond_cache_t 'patterncount' to cond_match_t 'captures' While cond_match_t is no longer sized power-2, it is generally expected to be used much less frequently than before (which was all the time), since it is now used only with url.redirect or url.rewrite with references %0, %1, %2, ...
show more ...
|
| #
7ea2d407 |
| 19-Nov-2021 |
Glenn Strauss <[email protected]> |
[core] save config regex captures only if used
save config regex captures separately only if used by url.redirect or url.rewrite replacement directives within the condition (or for conditions contai
[core] save config regex captures only if used
save config regex captures separately only if used by url.redirect or url.rewrite replacement directives within the condition (or for conditions containing directives from any other module which calls config_capture() for its directives during init)
keep pointer to match data (cond_match_t *) in r->cond_match[] rather than cond_match_t to reduce data copying in h2_init_stream(). h2_init_stream() copies the results for already-evaluated conditions to avoid re-evaluating connection-level conditions for each and every stream. When conditions are reset, then the pointer in r->cond_match[] is updated when the condition is re-evaluated. (This all assumes that HTTP/2 connection-level conditions are not unset or re-evaluated once HTTP/2 streams begin.)
show more ...
|
|
Revision tags: lighttpd-1.4.61, lighttpd-1.4.60 |
|
| #
dde9df43 |
| 17-Mar-2021 |
Glenn Strauss <[email protected]> |
[multiple] mark addtl funcs attr returns_nonnull
|
| #
19bc8885 |
| 15-Mar-2021 |
Glenn Strauss <[email protected]> |
[multiple] add attrs from gcc -Wsuggest-attribute=
|
| #
7b9c5add |
| 14-Mar-2021 |
Glenn Strauss <[email protected]> |
[multiple] PCRE w/ PCRE_STUDY_JIT_COMPILE (fixes #2361)
enabled by default disable using server.feature-flags += ("server.pcre_jit" => "disable")
Available since pcre-8.20 (2011), and improved in p
[multiple] PCRE w/ PCRE_STUDY_JIT_COMPILE (fixes #2361)
enabled by default disable using server.feature-flags += ("server.pcre_jit" => "disable")
Available since pcre-8.20 (2011), and improved in pcre-8.32 (2012), PCRE_STUDY_JIT_COMPILE can greatly speed up repeated execution of PCRE patterns. (https://zherczeg.github.io/sljit/pcre.html)
lighttpd continues to use pcre_exec() instead of pcre_jit_exec(), even though doing so does not realize all of the performance increase potentially available with PCRE_STUDY_JIT_COMPILE and pcre_jit_exec().
pcre_jit_exec() is available with PCRE 8.32 and later, if PCRE is compiled with --enable-jit, but lighttpd does not currently use pcre_jit_exec() since the PCRE library might not have been compiled with --enable-jit (though this could be solved with a weak symbol). Similarly, lighttpd does not currently configure the pcre_jit_stack.
(Using pcre_jit_exec() may be revisited in the future.)
x-ref: "add support for pcre JIT" https://redmine.lighttpd.net/issues/2361
show more ...
|
|
Revision tags: lighttpd-1.4.59, lighttpd-1.4.58, lighttpd-1.4.57, lighttpd-1.4.56, lighttpd-1.4.56-rc7, lighttpd-1.4.56-rc6, lighttpd-1.4.56-rc5, lighttpd-1.4.56-rc4, lighttpd-1.4.56-rc3, lighttpd-1.4.56-rc2, lighttpd-1.4.56-rc1, lighttpd-1.4.55 |
|
| #
c193da34 |
| 21-Nov-2019 |
Glenn Strauss <[email protected]> |
[core] split cond cache from cond matches
|
| #
63a6e52c |
| 10-Nov-2019 |
Glenn Strauss <[email protected]> |
[core] store addtl data in pcre_keyvalue_buffer
reduce pointer chasing in keyvalue.c
mark keyvalue.h config routines as cold
|
|
Revision tags: lighttpd-1.4.54, lighttpd-1.4.53, lighttpd-1.4.52, lighttpd-1.4.51, lighttpd-1.4.50 |
|
| #
37900d24 |
| 01-Jul-2018 |
Glenn Strauss <[email protected]> |
[mod_redirect,mod_rewrite] pass request URI info
|
| #
3eb7902e |
| 01-May-2018 |
Glenn Strauss <[email protected]> |
[core] server.http-parseopts URL normalization opt (fixes #1720)
server.http-parseopts = ( ... ) URL normalization options
Note: *not applied* to CONNECT method
Note: In a future release, URL norm
[core] server.http-parseopts URL normalization opt (fixes #1720)
server.http-parseopts = ( ... ) URL normalization options
Note: *not applied* to CONNECT method
Note: In a future release, URL normalization likely enabled by default (normalize URL, reject control chars, remove . and .. path segments) To prepare for this change, lighttpd.conf configurations should explicitly select desired behavior by enabling or disabling: server.http-parseopts = ( "url-normalize" => "enable", ... ) server.http-parseopts = ( "url-normalize" => "disable" )
x-ref: "lighttpd ... compares URIs to patterns in the (1) url.redirect and (2) url.rewrite configuration settings before performing URL decoding, which might allow remote attackers to bypass intended access restrictions, and obtain sensitive information or possibly modify data." https://www.cvedetails.com/cve/CVE-2008-4359/ "Rewrite/redirect rules and URL encoding" https://redmine.lighttpd.net/issues/1720
show more ...
|
| #
c56b2108 |
| 22-Apr-2018 |
Glenn Strauss <[email protected]> |
[core] http_kv.[ch] method, status, version str
move method, status, version strings from keyvalue.[ch] to http_kv.[ch]
|
| #
cf9474aa |
| 17-Apr-2018 |
Glenn Strauss <[email protected]> |
[mod_redirect, mod_rewrite] code reuse (sharing)
|
| #
04d76e7a |
| 25-Mar-2018 |
Glenn Strauss <[email protected]> |
[core] some header cleanup
provide standard types in first.h instead of base.h provide lighttpd types in base_decls.h instead of settings.h reduce headers exposed by headers for core data structures
[core] some header cleanup
provide standard types in first.h instead of base.h provide lighttpd types in base_decls.h instead of settings.h reduce headers exposed by headers for core data structures do not expose <pcre.h> or <stdlib.h> in headers move stat_cache_entry to stat_cache.h reduce use of "server.h" and "base.h" in headers
show more ...
|
|
Revision tags: lighttpd-1.4.49 |
|
| #
cb371557 |
| 10-Jan-2018 |
Glenn Strauss <[email protected]> |
[core] merge redirect/rewrite pattern substitution
merge redirect/rewrite pattern substitution function (share code)
|
|
Revision tags: lighttpd-1.4.48, lighttpd-1.4.47, lighttpd-1.4.46 |
|
| #
f3437fb2 |
| 24-Jun-2017 |
Glenn Strauss <[email protected]> |
[core] add const to reduce .data segment size
|
|
Revision tags: lighttpd-1.4.45, lighttpd-1.4.44, lighttpd-1.4.43, lighttpd-1.4.42, lighttpd-1.4.41, lighttpd-1.4.40 |
|
| #
8abd06a7 |
| 19-Mar-2016 |
Glenn Strauss <[email protected]> |
consistent inclusion of config.h at top of files (fixes #2073)
From: Glenn Strauss <[email protected]>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-03
consistent inclusion of config.h at top of files (fixes #2073)
From: Glenn Strauss <[email protected]>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-0310-8abb-c4023f1b3aa9
show more ...
|
| #
107f4054 |
| 30-Jan-2016 |
Stefan Bühler <[email protected]> |
cleanup dead keyvalue code
From: Stefan Bühler <[email protected]>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3073 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.39, lighttpd-1.4.38, lighttpd-1.4.37, lighttpd-1.4.36, lighttpd-1.4.36--rc1, lighttpd-1.4.35, lighttpd-1.4.34, lighttpd-1.4.33 |
|
| #
3df2ec92 |
| 29-Jun-2013 |
Stefan Bühler <[email protected]> |
[core] recognize more http methods to forward to backends (fixes #2346)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2883 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.32 |
|
| #
d4d1ff36 |
| 07-Nov-2012 |
Stefan Bühler <[email protected]> |
add PATCH method (fixes #2424)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2852 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.31, lighttpd-1.4.30, lighttpd-1.4.29, lighttpd-1.4.28, lighttpd-1.4.27 |
|
| #
38f2d1dd |
| 06-Aug-2010 |
Stefan Bühler <[email protected]> |
cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
* use log functions * convert flags * fix handler callback prototype
git-svn-id: svn://svn.lighttpd.net/lighttpd/br
cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
* use log functions * convert flags * fix handler callback prototype
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2752 152afb58-edef-0310-8abb-c4023f1b3aa9
show more ...
|
|
Revision tags: lighttpd-1.4.26, lighttpd-1.4.25, lighttpd-1.4.24 |
|
| #
22e8b456 |
| 11-Oct-2009 |
Stefan Bühler <[email protected]> |
Fix header inclusion order, always include "config.h" before any system header
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.23, lighttpd-1.4.22, lighttpd-1.4.21, lighttpd-1.4.20, lighttpd-1.4.19, lighttpd-1.4.18, lighttpd-1.4.17, lighttpd-1.4.16, lighttpd-1.4.15, lighttpd-1.4.14, lighttpd-1.4.13 |
|
| #
8cd1471c |
| 04-Oct-2006 |
Marcus Rückert <[email protected]> |
- white space cleanup part 2 this time 1.4 ;) i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f
- white space cleanup part 2 this time 1.4 ;) i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
show more ...
|
|
Revision tags: lighttpd-1.4.12, lighttpd-1.4.11 |
|
| #
b268e163 |
| 02-Mar-2006 |
Jan Kneschke <[email protected]> |
added the WebDAV, class 2 methods (darix)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1012 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.10, lighttpd-1.4.9 |
|
| #
28e5c53a |
| 14-Jan-2006 |
Jan Kneschke <[email protected]> |
get known to the CONNECT method
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@945 152afb58-edef-0310-8abb-c4023f1b3aa9
|
|
Revision tags: lighttpd-1.4.8, lighttpd-1.4.7, lighttpd-1.4.6, lighttpd-1.4.5 |
|
| #
b4d9d061 |
| 24-Sep-2005 |
Jan Kneschke <[email protected]> |
either remove include config.h or covered it in HAVE_CONFIG_H
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@733 152afb58-edef-0310-8abb-c4023f1b3aa9
|