- 19 Nov, 2018 4 commits
-
-
Nils Goroll authored
Ref: #2830
-
Nils Goroll authored
-
Dag Haavi Finstad authored
-
Dag Haavi Finstad authored
Fixes: #2831
-
- 17 Nov, 2018 6 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
Allow calling it for this purpose only (stop asserting if the temperature has not changed)
-
Nils Goroll authored
The actual benefit of this will be in follow-up commits
-
Nils Goroll authored
Fixes #2835
-
Nils Goroll authored
arguments could leak from one vtc command to the next where NULL arguments do not necessarily denote the end of arguments, eg. in varnish_expect
-
Nils Goroll authored
-
- 15 Nov, 2018 1 commit
-
-
Nils Goroll authored
I failed to find any issue in varnish and failed to find a workaround for the code, so change the test to add an additional space after the tab-completion. If anyone has a better solution, please go head. Otherwise I feel this is not worth any more time. The test change, though not being ideal, should not cause any harm at least. Closes #2833
-
- 14 Nov, 2018 4 commits
-
-
Nils Goroll authored
The fact that a boolean argument is present does not imply that it's true. This reverts commit 57cd74cf. I promise to look after this once I got my Flexelint config back, which, unfortunately, I lost during a reinstall. Yes, I do have a backup, but cannot access it easily at the moment.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 13 Nov, 2018 4 commits
-
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Fixes #2657.
-
Nils Goroll authored
For backend requests, we do not have the thread local storage of the client thread available, so trq.req will normally be (nil). Dump the busyobj back pointers to req/sess/wrk to maximize the usefulness of panics. Also reorder the panic by struct busyobj and add some more members which may or may not be useful (but when we find out, it is likely too late). Also move the vmod list dump to the top level. Noticed when trying to understand if #2667 was also a stack overflow in the context of #2817
-
Nils Goroll authored
Related to #2810
-
- 12 Nov, 2018 3 commits
-
-
Nils Goroll authored
If two blob pointers compare equal, the blobs are both the same and equal - both being NULL is implied.
-
Nils Goroll authored
ALLOC_OBJ calls memset(0) already
-
Poul-Henning Kamp authored
Introduce VSIG which simply counts number of signals, which everybody else can then look at. If you use libvarnishapi and want your own signal handler, you must increment these VSIG_{int|hup|term|usr1} counters yourself, for libvarnishapi to work correctly. The old VUT_Signal()/VUT_Signaled() API is retained and should be deprecated in a future version. Inspired by: #2818
-
- 07 Nov, 2018 2 commits
-
-
Poul-Henning Kamp authored
was lost in f2abaf86.
-
Valentin Matei authored
-
- 06 Nov, 2018 10 commits
-
-
Poul-Henning Kamp authored
-
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 6 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.
-