- 06 Nov, 2018 9 commits
-
-
Nils Goroll authored
will continue looking backwards from 79687f13
-
Nils Goroll authored
-
Nils Goroll authored
Now that we include it in cache.h, it is required by vmods Ref #2813
-
Nils Goroll authored
Avoid (potential) issues due to the monotonic clock not advancing for ~10 seconds such as for virtual machine snapshots or migrations. In such a scenario, we would kill a child after cli_timeout anyway, so using the same timeout by default for the watchdog also should reduce the additional risk implied by it. Ref #2814
-
Nils Goroll authored
For healthy == IGNORE, we return before the call to shard_next(), so at this point we do want to consider health state - and it makes absolutely no sense to give up a healthy backend in favor of an un- healthy one anyway. Fixes #2823
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 05 Nov, 2018 18 commits
-
-
Federico G. Schwindt authored
-
Nils Goroll authored
(at leat on solaris) strerror() itself may fail for an out-of-memory condition (because the localization code contains memory allocations). In order to handle this situation, we need to save the original errno because strerror() may also set errno. Fixes #2815
-
Nils Goroll authored
This reverts commit ee33662a.
-
Nils Goroll authored
This may reduce our binary size.
-
Nils Goroll authored
seen by sun cc as: "cache/cache_vrt_priv.c", line 54: syntax error: empty declaration (E_EMPTY_DECLARATION) "cache/cache_vrt_priv.c", line 109: syntax error: empty declaration (E_EMPTY_DECLARATION)
-
Nils Goroll authored
The vcl and id members served no purpose except for debugging. With this, we save 2 * sizeof(uintptr_t), which is exactly the additional footprint introduced with red/black trees. So the net footprint of a struct vrt_priv is now back to what it had been before #2813. For debugging, it should also be trivial to induce the context from the address of the tree root.
-
Nils Goroll authored
-
Nils Goroll authored
O(n) does not scale for a high number of dynamic privs, so trade some workspace for O(lg n)
-
Nils Goroll authored
Ref: #2812
-
Nils Goroll authored
sed 's:VRB_:VRBT_:g' -i "$FILES_CHANGED[@]" Closes #2812
-
Nils Goroll authored
-
Nils Goroll authored
Fixes #2820
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 02 Nov, 2018 2 commits
-
-
Dridi Boukelmoune authored
-
Federico G. Schwindt authored
Enabled when using varnishtest -L.
-
- 01 Nov, 2018 3 commits
-
-
Nils Goroll authored
-
Poul-Henning Kamp authored
-
Nils Goroll authored
(at leat on solaris) strerror() itself may fail for an out-of-memory condition (because the localization code contains memory allocations). In order to handle this situation, we need to save the original errno because strerror() may also set errno. This issue exists in many more places all over the code, but in the pool_breed case we likely failed pthread_create for an out-of-memory condition, and in the panic handler we want to make sure that we trip no follow-up panic under any circumstances. In general, while fixing all strerror() calls would unnecessarily complicate the code, doing so should be justified for these cases. Fixes #2815
-
- 31 Oct, 2018 1 commit
-
-
Nils Goroll authored
-
- 30 Oct, 2018 7 commits
-
-
Nils Goroll authored
the priv id is basically equivalent to the head (struct vrt_privs), and a vrt privs list thus can not contain privs with another id. So we could also retire the id member of struct vrt_priv...
-
Nils Goroll authored
we could also retire the vcl member of struct vrt_priv, but it could be useful for debugging.
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Nils Goroll authored
completely irrelevant historical note: IIUC, ~20+ years ago, "slowlaris" was referring to Solaris being percieved as "much slower than linux" (which was partly true, but also related to the fact that linux had less mp support at the time)
-
Poul-Henning Kamp authored
-