An error occurred fetching the project authors.
- 09 Jan, 2023 5 commits
-
-
Łukasz Nowak authored
Caddy was automat(g)ically adding Content-Type header to the backend response, but Haproxy does not do it, and change of the servers shall follow generic approach that not additional information is added to the response by the CDN.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
In case if Date header is present do nothing otherwise add one. Test backend is adapted to have full control over headers sent. Backward incompatible change happens, as the Date header is generated before passing the request to the cache, thus resulting with caching it. Nevertheless this is good change, as previous behavior was simply wrong.
-
Łukasz Nowak authored
mpm-graceful-shutdown-timeout is dropped, as it's historical leftover and never really useful in the caddy-frontend CDN usage context - stopping the server is the most rare situation, and any grace period is solved eventually outside of the running process (like redirecting traffic elsewhere before stopping).
-
Łukasz Nowak authored
It's based on phased out caddy-frontend, especially as next step is to drop Caddy software from the software release.
-
- 15 Dec, 2022 1 commit
-
-
Łukasz Nowak authored
This is a frontend used to provide information about various aspect of the master instance status, like rejected slaves, failed failsafe slave publication and maybe more.
-
- 07 Nov, 2022 2 commits
-
-
Łukasz Nowak authored
Configuring failover URL and being able to rely on cached content is not so simple, thus document the requirement and prove in test, that such configuration works correctly.
-
Łukasz Nowak authored
Checking SLAPOS_TEST_DEBUG in the test itself came from ancient history of the testcase, it's time to drop it and use modern apporach.
-
- 19 Oct, 2022 1 commit
-
-
Łukasz Nowak authored
Running test as last makes no sense nowadays, as the site is fully prepared. Awaiting for each possible log of configured frontend is not worth the requirement, so make those tests as first ones, which simplifies running only them with reproducible effect. All tests which could be affected by that fact has been identified and changed.
-
- 17 Oct, 2022 5 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
caddy-frontend-N is bad name, it's just frontend-node-N.
-
Łukasz Nowak authored
This option was useful only during the time, when there were experiments running on caddy-frontend clusters during switch to HTTP/2. Currently HTTP/2 is a standard, and there is no reason to disable it globally.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
The most complex case - no automatic https redirection and usage of url and https-url is used to check implementation of type:redirect now.
-
- 08 Sep, 2022 3 commits
-
-
Łukasz Nowak authored
Result of getSoftwareURL can contain other replacements, so replace it very early in order to avoid such issue.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
This test is always failing and it's impossible to fix it (for now). As this is well known issue with some workarounds available mark it with expectedFailure.
-
- 07 Sep, 2022 1 commit
-
-
Jérome Perrin authored
We no longer need backports.lzma now this test is python3 only
-
- 05 Sep, 2022 1 commit
-
-
Łukasz Nowak authored
Fixed indentation.
-
- 01 Sep, 2022 3 commits
-
-
Jérome Perrin authored
this prevents ResourceWarning because this way the sockets are closed
-
Jérome Perrin authored
see commit e6deadaca7f4469ab32e028cdbb029acc9c7d3c3 from slapos.core: We fork a subprocess to serve requests, but the listening socket is bound in server constructor and inherited by subprocess. With this pattern, we have to explicitly close the socket from parent process to prevent the leak.
-
Jérome Perrin authored
Now that this test is python 3, test output has lots of warnings like this: software/caddy-frontend/test/test.py:305: ResourceWarning: unclosed file <_io.TextIOWrapper name='software/caddy-frontend/test/test_data/test.TestEnableHttp2ByDefaultFalseSlave.test00cluster_request_instance_parameter_dict.txt' mode='r' encoding='UTF-8'> test_data = open(test_data_file).read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback
-
- 16 Aug, 2022 2 commits
-
-
Łukasz Nowak authored
Instead of lying in tests and checking for NotReadyYet in the connection parameteres use promise to assert that generation of KeDiFa URLs is really ready.
-
Łukasz Nowak authored
Drop hacks applied in the test, so that it will uncover all missing promises and corner cases.
-
- 27 Jul, 2022 8 commits
-
-
Łukasz Nowak authored
Rarely used https backend was missing the backend Via additions, thus it was not transmitted there.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 14 Jul, 2022 4 commits
-
-
Łukasz Nowak authored
curl invocation was incorrect, and was working only in some conditions by chance, so fix it fully. Now the test fails in all conditions correctly, including sanity assertion.
-
Łukasz Nowak authored
Started with 2to3, then added some manual changes. Improved result configuration with returning incorrect configuration.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
In the end curl seems the tool which gives full control over order of the cookies, especially with upcoming migration to python3.
-
- 13 Jul, 2022 1 commit
-
-
Łukasz Nowak authored
Due to python2 dict handling the problem has been hidden, but smart order of disabled-cookie-list setup exposed the problem.
-
- 24 Mar, 2022 1 commit
-
-
Łukasz Nowak authored
Since da03653908aea9a62f805faf0328f7b2f046abaa slapos.core's slapproxy transmit more parameters, so adapt tests to account for it.
-
- 21 Mar, 2022 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Via header for response and request is fully stabilized and present according to the RFC now. Important information, like protocol and protocol version are exposed. Hops which were present in the request are stored and descriptively named. Versions of components are exposed in hidden way and in the same time the frontend administrator and frontend user are able to analyze the versions, and the version history present on the node is transmitted back. Additionally each node can be identified by frontend admins and users for request and response headers, allowing more debugging. Improve the tests by extending assertSlaveBase and reuse it instead of duplicating the code everywhere.
-