Age | Commit message (Collapse) | Author |
|
|
|
|
|
file. They are substituted automatically, to avoid this in each
single test.
|
|
ok reyk@, bluhm@
|
|
|
|
|
|
HTTP client writes multiple requests or chunks in a single transfer,
relayd invokes the libevent callback manually for the next data.
If the callback closes the session, this results in an use after
free.
Test an invalid second request method, test an invalid header line
in the second PUT request, test an invalid second chunked length
for a PUT request. Also test multiple valid HTTP 1.1 PUT requests
with chunked body.
To detect crashes of relayd, start it with "prefork 1" and grep for
"lost child" log messages. Unfortunately only the first child is
monitored by the parent.
|
|
to pass also if relayd is compiled with DEBUG.
|
|
line. Check that the session in relayd gets closes and it does not
result in a file descriptor leak.
Bug in relayd found by claudio@.
|
|
response's content length may be an unexpected value as an error
page is shown.
|
|
logging of SSL errors. Do not import unneeded Socket constants.
|
|
|
|
its log file. Change regression tests form ssl to tls.
|
|
This includes coding style, better error messages and variable
naming.
|
|
do. Also explain the optional environment variables.
|
|
with ony byte content length triggered relayd to hang. This has
been fixed already.
|
|
|
|
to specify an array of md5 hashes in the test arguments and check
all of them in the client and server log files. So test that relayd
does not modify the http body.
|
|
test more strict again. Backout rev 1.2 of args-timeout-http.pl.
|
|
everybody stand back. i know regular expressions.
|
|
ok reyk
|
|
ok reyk
|
|
ok reyk
|
|
ok bluhm@ benno@
|
|
files. We do not want to put a license header into each subtest.
suggested by reyk@
|
|
common web servers). Add a related regress test.
OK benno@
|
|
with an empty line and a header line.
|
|
|
|
executed tests. This allows to micro benchmark relayd.
based on a diff from andre@; OK reyk@
|
|
with associated lists instead of the complicated lookup table and
"others" list. This might add a little malloc overhead for common
headers but also fixes some issues like the handling of repeated
headers - for example, handling of multiple "Set-Cookie" headers.
ok bluhm@ (regress part)
ok benno@
|
|
|
|
|
|
suggested by reyk@
|
|
per default for the default length value in check_logs(). If a
test doesn't want this check, it has to disable it explicitly with
nocheck. Also remove unneeded nocheck switches for deeper testing.
|
|
From RFC 7230, section 3.2.2:
"A sender MUST NOT generate multiple header fields with the same field
name in a message unless either the entire field value for that
header field is defined as a comma-separated list [i.e., #(values)]
or the header field is a well-known exception (as noted below)."
|
|
that offers multiple requets per HTTP connection is run twice.
First all requests are run over a single TCP connection. Then for
each requests a separate TCP connection is established. If a
requests during a persistent connection fails, a reconnect is done
as relayd cancels the whole connection. This allows stricter tests
for filters.
OK reyk@
|
|
As discussed with bluhm@ deraadt@
|
|
filtering rules. Some of the filenames are based on the old grammar,
we keep them for now and just update the contents to have a
before/after comparison of the features.
Most of the work was done by Andre de Oliveira (andre@)
OK bluhm@ benno@
|
|
an obj directory. The relayd process can also run on a remote
machine for different timing.
|
|
for client/server processes checks through $self->{down} state control
variable, while here, do not instantiate a client when noclient is defined,
reflecting server object instantiation behaviour.
ok bluhm
|
|
to the grammar.
ok reyk
|
|
framework. These flags can be set from test file which eases performing
dry-runs of relayd long enough to do relayd.conf parsing, thus enabling the
grammar/parser-only tests. While here, fix and improves args-http-mark.pl to a
correct use-case.
ok reyk
|
|
the test file.
ok reyk
|
|
trigger to run tests from relayd directory, so previous had no practical
effect.
|
|
ok reyk
|
|
dispatches 4 requests from the client and checks if the server receives only 3.
Previous functionality kept.
ok reyk
|
|
definition on relayd.conf, customization of client/server cookies,
client/server headers and request path.
ok reyk
|
|
experimental in Perl 5.18. So we see warnings in the tests.
given is experimental at funcs.pl line 62.
when is experimental at funcs.pl line 63.
Just suppress this type of warnings for now. If Perl will disable
smart match, the simple regression code still works. If they will
choose to remove given/when, we can fix it later.
Discussed with and OK andre@ afresh1@
|
|
|
|
are missing print a warning and skip the tests, but do not fail.
|