- 22 Feb, 2019 4 commits
-
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
- 21 Feb, 2019 1 commit
-
-
Kwabena AB authored
-
- 20 Feb, 2019 5 commits
-
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
- 19 Feb, 2019 8 commits
-
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
- 18 Feb, 2019 6 commits
-
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
Kwabena AB authored
-
- 15 Feb, 2019 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Julien Muchembled authored
-
- 14 Feb, 2019 2 commits
-
-
Guillaume Hervier authored
Close the NBD socket when testing it so it won't mess up qemu. /reviewed-on nexedi/slapos!516
-
Łukasz Nowak authored
-
- 10 Feb, 2019 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 08 Feb, 2019 4 commits
-
-
Guillaume Hervier authored
- Add `buildout.hash.cfg` file so this way we can use the useful `update-hash` script - Refactor a bit the `software.cfg` file sections as it was repeating itself /reviewed-on nexedi/slapos!512
-
Łukasz Nowak authored
Extend the backend with Timeout configuration via headers and use it to prove, that request taking more than try_duration is correctly served. Also prove that try_duration and try_interval are correct passed to the slave configuration.
-
Łukasz Nowak authored
try_duration and try_interval are Caddy proxy's switches which allow to deal with non working backend (https://caddyserver.com/docs/proxy) The non working backend is the one, to which connection is lost or was not possible to make, without sending any data. The default try_duration=5s and try_interval=250ms are chosen, so that in normal network conditions (with all possible problems in the network, like lost packets) the browser will have to wait up to 5 seconds to be informed that backend is inaccessible or for the request to start being processed, but only a bit more than 250ms if Caddy would have to reestablish connection to faulty backend. In order to check it out it is advisable to setup a system, with real backend, like apache one, and configure iptables to randomly reject packets to it: iptables -A INPUT -m statistic --mode random -p tcp --dport <backend_port> \ --probability 0.05 -j REJECT --reject-with tcp-reset Using ab or any other tool will results with lot of 502 EOF in the Caddy error log and also reported by ab. With this configuration there are no more errors visible to the client, which come from the problems on the network between Caddy and the backend.
-
Łukasz Nowak authored
Assert itself "check_output" of given command, so provide simple subprocess_output with all possible information from the called command.
-
- 07 Feb, 2019 2 commits
-
-
Łukasz Nowak authored
Since slapos.core 1.4.16+ slapos proxy is not able to consume or publish non-strings, which makes tests not working.
-
Łukasz Nowak authored
-
- 06 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 05 Feb, 2019 2 commits
-
-
Alain Takoudjou authored
-
Łukasz Nowak authored
Thanks to this 'None' is used in BuildoutSerializer
-