| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
speeds up transferring data and avoids to run into timeout. The
test was broken since switching to TLS 1.3 if running relayd on a
remote machine. With no delay in tcp, https-multi using TLS 1.3
is slightly faster than TLS 1.2 on i386.
|
|
|
|
| |
targets consistently with a run- prefix.
|
|
|
|
|
|
| |
timeval is 16 bytes, on i386 only 12 bytes were needed. The
additional space makes setsockopt(2) succeed in armv7 regress.
from Moritz Buhl
|
| |
|
| |
|
| |
|
|
|
|
| |
until server has started, then expect error message in server log.
|
|
|
|
|
|
|
| |
buffered IO and test run-regress-args-http-chunked.pl would fail
on slow hardware. Limit debug output to one line per 1% of data.
Improve function write_syswrite(). Sync with httpd regress. Fix
whitespace.
|
|
|
|
| |
OCSP error messages.
|
|
|
|
| |
test.
|
|
|
|
| |
error messages.
|
|
|
|
| |
This allows to identify such tests by looking at their output.
|
|
|
|
| |
in different environments.
|
|
|
|
|
|
| |
sockopt correctly with Perl pack on i386. Make it possible to grep
in each others client and server logfile. Client does not simply
sleep but waits for short write at server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Respond with a 400 (Bad Request) if there is more than one Host:
header to prevent ambiguities.
- Make sure that the host in the optional absolute form of
request-target (eg. GET http://www.target.com/ HTTP/1.1) matches the
Host: value. Proxies are supposed to ignore the Host: value if the
request-target exists, but relayd used to ignore the absolute
request-target form instead. In HTTP terminology, relayd is a gateway
and not a proxy, but it has to make sure that the host is validated
consistently.
OK benno@ bluhm@
|
| |
|
| |
|
|
|
|
| |
declared in conditional statement.
|
| |
|
| |
|
|
|
|
|
| |
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@
|