History log of /lighttpd1.4/tests/request.t (Results 1 – 25 of 46)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69
# 0945ce4f 01-Feb-2023 Glenn Strauss <[email protected]>

[tests] adjust outdated opt in tests/lighttpd.conf

adjust outdated setting in tests/lighttpd.conf

(modern pdf clients properly handle range requests)


# 5aba760f 01-Feb-2023 Glenn Strauss <[email protected]>

[tests] quickly exit tests/request.t if GET / fail

quickly exit tests/request.t if "GET /" fails, without running further
tests. Also, attempt to shutdown test server so that it is not left
running

[tests] quickly exit tests/request.t if GET / fail

quickly exit tests/request.t if "GET /" fails, without running further
tests. Also, attempt to shutdown test server so that it is not left
running on platforms which use different signals (e.g. Windows)

show more ...


Revision tags: lighttpd-1.4.68
# 3fded622 01-Jan-2023 Glenn Strauss <[email protected]>

[tests] fix "deflate" tests for added zlib header


# fcf0dc3e 23-Nov-2022 Glenn Strauss <[email protected]>

[multiple] remove deprecated modules

remove deprecated modules:
mod_evasive
mod_secdownload
mod_uploadprogress
mod_usertrack

These scheduled lighttpd behavior changes have been announced ov

[multiple] remove deprecated modules

remove deprecated modules:
mod_evasive
mod_secdownload
mod_uploadprogress
mod_usertrack

These scheduled lighttpd behavior changes have been announced over
the past year:

* Continue gradual deprecation of "mini-application" lighttpd modules
for which mod_magnet lua implementations are better and more flexible.
Please post on lighttpd forums to share feedback if you use these modules.
Forums: https://redmine.lighttpd.net/projects/lighttpd/boards

* Deprecated: mod_evasive has been removed.
mod_evasive can be replaced by mod_magnet and a few lines of lua:
Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_evasive
https://wiki.lighttpd.net/AbsoLUAtion#Fight-DDoS
https://wiki.lighttpd.net/AbsoLUAtion#Mod_Security

* Deprecated: mod_secdownload has been removed.
mod_secdownload can be replaced by mod_magnet and a few lines of lua:
Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_secdownload
mod_secdownload historically uses insecure MD5 though SHA1, SHA256 available

* Deprecated: mod_uploadprogress has been removed.
mod_uploadprogress can be replaced by mod_magnet and a few lines of lua:
Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_uploadprogress

* Deprecated: mod_usertrack has been removed.
mod_usertrack can be replaced by mod_magnet and a few lines of lua:
Replacement: https://wiki.lighttpd.net/ModMagnetExamples#lua-mod_usertrack
mod_usertrack historically uses insecure MD5.

show more ...


Revision tags: lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65
# 7258624e 05-Apr-2022 Glenn Strauss <[email protected]>

[tests] able to run tests when built w/o pcre

perl test framework now runs most tests even when lighttpd has been
built without pcre support, though some tests which rely on regex
are skipped (tests

[tests] able to run tests when built w/o pcre

perl test framework now runs most tests even when lighttpd has been
built without pcre support, though some tests which rely on regex
are skipped (tests/core-condition.t)

show more ...


# bd67d9f4 09-Mar-2022 Glenn Strauss <[email protected]>

[core] permit env w/ blank value (fix regression)

(thx Lars Bingchong)

empty env var must be set to blank string and not left unset
(regression in lighttpd 1.4.56 - lighttpd 1.4.64)

x-ref:
https

[core] permit env w/ blank value (fix regression)

(thx Lars Bingchong)

empty env var must be set to blank string and not left unset
(regression in lighttpd 1.4.56 - lighttpd 1.4.64)

x-ref:
https://stackoverflow.com/a/52913064/1338888

show more ...


Revision tags: lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62
# adf2f816 08-Nov-2021 Glenn Strauss <[email protected]>

[tests] mod_ssi tests moved to src/t/test_mod_ssi

remove mod_ssi Perl tests now performed by src/t/test_mod_ssi


Revision tags: lighttpd-1.4.61, lighttpd-1.4.60
# ca2898f6 26-Aug-2021 Glenn Strauss <[email protected]>

[tests] t/test_mod_indexfile

also remove some now-redundant tests from request.t
and reduce scripts and directories under tests
(because automake is sloooow and the fewer dirs, the better)


# f4726115 07-Jul-2021 Glenn Strauss <[email protected]>

[tests] combine *.t using tests/lighttpd.conf

combine tests/*.t using tests/lighttpd.conf into tests/request.t

Platforms which are horrifically slow starting processes (e.g. Windows)
take much more

[tests] combine *.t using tests/lighttpd.conf

combine tests/*.t using tests/lighttpd.conf into tests/request.t

Platforms which are horrifically slow starting processes (e.g. Windows)
take much more time to start and stop lighttpd many times for
independent *.t instances run through the Perl Test::More framework

show more ...


# 91472ab7 07-Jul-2021 Glenn Strauss <[email protected]>

[tests] t/test_mod_staticfile

move some tests from tests/request.t to src/t/test_mod_staticfile.c


# a0a8cf82 05-Jul-2021 Glenn Strauss <[email protected]>

[tests] mv tests from request.t to test_request.c

move some tests from tests/*.t to src/t/test_request.c


# f7bebe99 02-Jul-2021 Glenn Strauss <[email protected]>

[tests] use generated date in HTTP If conditionals

replace hard-coded date in HTTP If conditional tests

x-ref:
"Make tests pass after 2035"
https://github.com/lighttpd/lighttpd1.4/pull/106

git

[tests] use generated date in HTTP If conditionals

replace hard-coded date in HTTP If conditional tests

x-ref:
"Make tests pass after 2035"
https://github.com/lighttpd/lighttpd1.4/pull/106

github: closes #106

show more ...


# cc35c03c 26-Feb-2021 Glenn Strauss <[email protected]>

[core] RFC 7233 Range handling for non-streaming

RFC 7233 Range handling for all non-streaming responses,
including (non-streaming) dynamic responses

(previously Range responses handled only for st

[core] RFC 7233 Range handling for non-streaming

RFC 7233 Range handling for all non-streaming responses,
including (non-streaming) dynamic responses

(previously Range responses handled only for static files)

show more ...


Revision tags: lighttpd-1.4.59, lighttpd-1.4.58
# 5ec5e124 28-Dec-2020 Glenn Strauss <[email protected]>

[tests] consolidate some tests/ content


# b598bb53 23-Dec-2020 Glenn Strauss <[email protected]>

[tests] remove FastCGI test dependency on PHP


Revision tags: 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
# 96abd9cf 10-Oct-2020 Glenn Strauss <[email protected]>

[core] coalesce nearby ranges in Range requests

Range requests must be HTTP/1.1 or later (not HTTP/1.0)


# 1d9709b8 08-Sep-2020 Glenn Strauss <[email protected]>

[core] update HTTP status codes list from IANA


Revision tags: lighttpd-1.4.55
# 61f85d14 28-Sep-2019 Glenn Strauss <[email protected]>

[core] reject WS following header field-name (fixes #2985)

reject whitespace following request header field-name and before colon
Such whitespace is forbidden in RFC 7230 Section 3.2.4.

strict head

[core] reject WS following header field-name (fixes #2985)

reject whitespace following request header field-name and before colon
Such whitespace is forbidden in RFC 7230 Section 3.2.4.

strict header parsing is enabled by default in lighttpd. However,
if explicitly disabled in lighttpd.conf, lighttpd will continue to
accept (and re-format) such field-names before passing to any backend.
UNSAFE: server.http-parseopts = ( "header-strict" => "disable" )
This is NOT RECOMMENDED since doing so disables other protections
provided by lighttpd strict http header parsing.

(thx fedormixalich)

x-ref:
stricter request header parsing
https://redmine.lighttpd.net/issues/2985

show more ...


Revision tags: lighttpd-1.4.54, lighttpd-1.4.53, lighttpd-1.4.52, lighttpd-1.4.51
# 90c30d5e 23-Sep-2018 Glenn Strauss <[email protected]>

[core] http_status_append()


Revision tags: lighttpd-1.4.50
# d161f53d 24-Jul-2018 Glenn Strauss <[email protected]>

[core] security: use-after-free invalid Range req

(thx Marcus Wengelin)


# 1b62dc32 21-Apr-2018 Glenn Strauss <[email protected]>

[tests] test_request unit tests

unit tests for request processing
collect existing request processing tests from Perl tests/*.t
(test_request.c runs *much* more quickly than Perl tests/*.t)


Revision tags: lighttpd-1.4.49
# dc1675ea 12-Jan-2018 Glenn Strauss <[email protected]>

[core] fix POST with chunked request body (fixes #2854)

(thx the_jk)

x-ref:
"chunked transfer encoding in request body only works for tiny chunks"
https://redmine.lighttpd.net/issues/2854


Revision tags: lighttpd-1.4.48, lighttpd-1.4.47, lighttpd-1.4.46, lighttpd-1.4.45
# 37dac9a2 24-Dec-2016 Glenn Strauss <[email protected]>

[core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, #2438)

support Expect: 100-continue with HTTP/1.1 requests

Ignore config option server.reject-expect-100-with-417;
serve

[core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, #2438)

support Expect: 100-continue with HTTP/1.1 requests

Ignore config option server.reject-expect-100-with-417;
server.reject-expect-100-with-417 will be removed in a future release.

x-ref:
"Incorrect handling of the 100 (Continue) Status"
https://redmine.lighttpd.net/issues/377
"'Expect' header gives HTTP error 417"
https://redmine.lighttpd.net/issues/1017
"Improve DAV support to be able to handle git as a client"
https://redmine.lighttpd.net/issues/1953
"Change server.reject-expect-100-with-417 from flag to regular expression matching the URL"
https://redmine.lighttpd.net/issues/2438

show more ...


Revision tags: lighttpd-1.4.44
# 4d7f5737 16-Dec-2016 Glenn Strauss <[email protected]>

[core] support Transfer-Encoding: chunked req body (fixes #2156)

support Transfer-Encoding: chunked request body in conjunction with
server.stream-request-body = 0

dynamic handlers will still ret

[core] support Transfer-Encoding: chunked req body (fixes #2156)

support Transfer-Encoding: chunked request body in conjunction with
server.stream-request-body = 0

dynamic handlers will still return 411 Length Required if
server.stream-request-body = 1 or 2 (!= 0)
since CGI-like env requires CONTENT_LENGTH be set
(and mod_proxy currently sends HTTP/1.0 requests to backends,
and Content-Length recommended for robust interaction with backend)

x-ref:
"request: support Chunked Transfer Coding for HTTP PUT"
https://redmine.lighttpd.net/issues/2156

show more ...


Revision tags: lighttpd-1.4.43, lighttpd-1.4.42, lighttpd-1.4.41, lighttpd-1.4.40, 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
# d7c90814 10-Jan-2014 Stefan Bühler <[email protected]>

[tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.t

From: Stefan Bühler <[email protected]>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2932 152afb58-ed

[tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.t

From: Stefan Bühler <[email protected]>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2932 152afb58-edef-0310-8abb-c4023f1b3aa9

show more ...


12