diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-01-01 13:44:00 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-01-05 12:52:11 -0500 |
commit | 5b1b9f78247e122804490b17112e94df32851464 (patch) | |
tree | e8b7580206627e5cd84e9fa4c01dcd0296344da6 /tests/lighttpd.conf | |
parent | 048af4c5063485b65d9919f6a7a5d28c1db02d66 (diff) | |
download | lighttpd-git-5b1b9f78247e122804490b17112e94df32851464.tar.gz |
[tests] use ephemeral ports in tests
avoid spurious test failures due to conflicts with ports in use by
other processes, which might occur when tests use hard-coded ports
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r-- | tests/lighttpd.conf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf index 7b57d42e..2c8d4729 100644 --- a/tests/lighttpd.conf +++ b/tests/lighttpd.conf @@ -2,16 +2,12 @@ debug.log-request-handling = "enable" debug.log-request-header = "enable" debug.log-response-header = "enable" #debug.log-condition-handling = "enable" -server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" ## 64 Mbyte ... nice limit server.max-request-size = 65000 -## bind to port (default: 80) -server.port = 2048 - -## bind to localhost (default: all interfaces) -server.bind = "localhost" +server.systemd-socket-activation = "enable" +server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" server.name = "www.example.org" |