Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-30 | typo: p5-Socket-SSL -> p5-IO-Socket-SSL | Dave Voutila | |
ok kn@ | |||
2021-12-22 | Replace deprecated IO::Socket::INET6 with IO::Socket::IP. | Alexander Bluhm | |
2021-12-02 | Tell testers which packages to install right away (and why) | Klemens Nanni | |
Other regress tests do it differently; just fix/thouch those that did not mention any package name at all. This helps grepping logs for SKIPPED to find instructions for the next run. | |||
2021-10-12 | quote sudo and handle arguments | Anton Lindqvist | |
2021-03-24 | test HEAD requests, from niklas@ | Sebastian Benoit | |
2020-12-17 | Remove echo headlines. | Alexander Bluhm | |
2020-11-07 | Set TCP option NODELAY in relayd and in client and server. This | Alexander Bluhm | |
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. | |||
2019-07-12 | Test should also run if there is no obj directory. Name regress | Alexander Bluhm | |
targets consistently with a run- prefix. | |||
2019-07-05 | Put some padding in Perl pack of struct timeval. On armv7 struct | Alexander Bluhm | |
timeval is 16 bytes, on i386 only 12 bytes were needed. The additional space makes setsockopt(2) succeed in armv7 regress. from Moritz Buhl | |||
2018-10-20 | update to reflect changes introduced with relayd r1.227 | denis | |
2018-10-06 | Simplify regress tests by using the new setup and cleanup feature. | Alexander Bluhm | |
2018-01-04 | Add more tests that check the timeout behavior of relayd. | Alexander Bluhm | |
2017-09-18 | Avoid race in relayd test that uses an invalid chunked header. Wait | Alexander Bluhm | |
until server has started, then expect error message in server log. | |||
2017-07-14 | Do not mix Perl read() with sysread(). Data could get stuck in the | Alexander Bluhm | |
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. | |||
2017-01-31 | Mark the IO::Socket::SSL server socket with SSL_server to avoid | Alexander Bluhm | |
OCSP error messages. | |||
2016-09-23 | Check wether sudo or doas is working once at the beginning of the | Alexander Bluhm | |
test. | |||
2016-09-22 | Call setsockopt(2) before listen(2) in relayd tests and adjust some | Alexander Bluhm | |
error messages. | |||
2016-09-02 | Print SKIPPED if a regress test cannot be executed for some reason. | Alexander Bluhm | |
This allows to identify such tests by looking at their output. | |||
2016-08-25 | Set relayd socket buffer size to reasonable value to make test pass | Alexander Bluhm | |
in different environments. | |||
2016-08-25 | Make relayd test slow-consumer more reliable. Set SO_SNDTIMEO | Alexander Bluhm | |
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. | |||
2016-07-27 | Improve parsing of the Host by following RFC 7230 Section 5.4 more strictly: | Reyk Floeter | |
- 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@ | |||
2016-07-22 | add a regression test | Sebastian Benoit | |
2016-07-20 | s/sudo/doas/ | Sebastian Benoit | |
2016-05-03 | Fix some Perl statements perlcritic was bitching about: Variable | Alexander Bluhm | |
declared in conditional statement. | |||
2015-10-09 | Keep relayd test certificate names in sync with syslogd. | Alexander Bluhm | |
2015-07-20 | Fix white spaces. | Alexander Bluhm | |
2015-07-20 | Allow to use $curdir, $objdir, $host, $hostname in the test config | Alexander Bluhm | |
file. They are substituted automatically, to avoid this in each single test. | |||
2015-07-18 | add relayd regression test args-http-slow-consumer.pl | Sebastian Benoit | |
ok reyk@, bluhm@ | |||
2015-06-25 | Align the three variants of Remote.pm. | Alexander Bluhm | |
2015-05-22 | Add tests for relayd TLS inspection with plain SSL and HTTPS. | Alexander Bluhm | |
2015-05-17 | Add test cases for a crash reported by Bertrand PROVOST. When a | Alexander 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. | |||
2015-04-29 | Make some regular expressions more strict. This allows the tests | Alexander Bluhm | |
to pass also if relayd is compiled with DEBUG. | |||
2015-04-27 | Let the HTTP client close the connection within an incomplete header | Alexander Bluhm | |
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@. | |||
2015-01-05 | Fix relayd http regression tests. If http response is not ok, the | Alexander Bluhm | |
response's content length may be an unexpected value as an error page is shown. | |||
2014-12-31 | Create CA and certificates for TLS tests consistently. Better | Alexander Bluhm | |
logging of SSL errors. Do not import unneeded Socket constants. | |||
2014-12-18 | Update test - the hashkey log message disappeared. | Reyk Floeter | |
2014-12-14 | By now relayd expects tls in its config file and writes tls into | Alexander Bluhm | |
its log file. Change regression tests form ssl to tls. | |||
2014-08-18 | Make the perl modules consistent for the multiple regression tests. | Alexander Bluhm | |
This includes coding style, better error messages and variable naming. | |||
2014-08-18 | Add a description of what the relayd and sosplice regression tests | Alexander Bluhm | |
do. Also explain the optional environment variables. | |||
2014-08-18 | Add test cases for multiple small HTTP requests. Many PUT requests | Alexander Bluhm | |
with ony byte content length triggered relayd to hang. This has been fixed already. | |||
2014-08-17 | Sync regress/usr.sbin/relayd with recent http.h changes | doug | |
2014-07-20 | A HTTP connection may have multiple requests with content. Allow | Alexander Bluhm | |
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. | |||
2014-07-14 | Now that the relayd timeouts have been fixed, make the http timeout | Alexander Bluhm | |
test more strict again. Backout rev 1.2 of args-timeout-http.pl. | |||
2014-07-13 | fix regress tests after log changes. noticed by bluhm@. | Sebastian Benoit | |
everybody stand back. i know regular expressions. | |||
2014-07-13 | improve log output for relays. adjust regress tests | Sebastian Benoit | |
ok reyk | |||
2014-07-13 | repair matching of headers, add regress test for this error | Sebastian Benoit | |
ok reyk | |||
2014-07-12 | fix relay "append header" action, add regression test for append | Sebastian Benoit | |
ok reyk | |||
2014-07-12 | Test filtering by method | Reyk Floeter | |
ok bluhm@ benno@ | |||
2014-07-11 | Put a license file into the test directories with multiple argument | Alexander Bluhm | |
files. We do not want to put a license header into each subtest. suggested by reyk@ | |||
2014-07-11 | Limit HTTP header length to about 8K (based on the default of 4-8K in | Reyk Floeter | |
common web servers). Add a related regress test. OK benno@ |