- 21 Oct, 2019 11 commits
-
-
Dridi Boukelmoune authored
It is only really needed for one last use case.
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
Inform users when the parameter we try to change depends on another parameter. This is not meant to be merged as-is, we could have a new VSB function to trim the end of the string if it matches the one passed as the second argument. In this case, we would trim the trailing newline only of the CLI response didn't overflow in the first place, adding the extra information on the same line. Alternatively we could also simply add the explanation for the dynamic bounds on the next line. Feedback welcome. Fixes #3098
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Martin Blix Grydeland authored
req->err_code and req->err_reason are set when going to synthetic handling. From there the resp.reason HTTP field is set from req->err_reason if set, or the generic code based on req->err_code is used if it was NULL. This patch clears these members so that a value from the handling of a previous request doesn't linger. Fixes: VSV00004
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 18 Oct, 2019 4 commits
-
-
Dridi Boukelmoune authored
This de-duplicates logic between the two hashing directors, and in the case of vmod-shard adds a missing check for empty components in the strands that should be skipped. This breaks the hashing of the hash director, but unlike the shard director it offers no stability and results may vary depending on the health of individual clusters. For this reason only d00003.vtc needed a bit of reshuffling.
-
Guillaume Quintard authored
-
Guillaume Quintard authored
-
Guillaume Quintard authored
-
- 16 Oct, 2019 1 commit
-
-
Dridi Boukelmoune authored
-
- 15 Oct, 2019 2 commits
-
-
Dridi Boukelmoune authored
I was in the neighborhood...
-
Dridi Boukelmoune authored
This reverts commit 6233b088. Conflicts: bin/varnishd/cache/cache_req.c The conflict was introduced with the handling of h2 stream 0 pseudo request: 51127b46. This fixes a regression where timeout_idle could be circumvented by a periodic CRLF, except that it has no real consequence like holding onto a worker thread thanks to timeout_linger kicking in as expected. In addition to reverting the change, test coverage is added.
-
- 14 Oct, 2019 4 commits
-
-
Guillaume Quintard authored
This reverts commit 762fda9a.
-
Guillaume Quintard authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
- 11 Oct, 2019 8 commits
-
-
Guillaume Quintard authored
-
Guillaume Quintard authored
-
Guillaume Quintard authored
-
Martin Blix Grydeland authored
Failure to read the right number of bytes (typically due to remote HUP) would log "straight insufficient bytes", which is the same as we log for C-L based fetches. Change this to "chunked insufficient bytes". (Assuming this was a copy-paste error).
-
Nils Goroll authored
Ref #3088 apparently the additional argument was just silently tolerated by varnishtest
-
Nils Goroll authored
Tests #3088
-
Nils Goroll authored
Using vut->last_sighup was not adequate, because the VUT_Main loop might have terminated for some other signal or because of EOF. On the other hand, we do not want to end the curses loop just because the VUT_Main loop has ended in order to continue to display the last state (and maybe the EOF in the top right corner). So while I see that checking just one flag has some beauty to it, I do think that directly checking the signal counters is both simple and robust. Fixes #3088 for varnishtop and varnishhist
-
Nils Goroll authored
Fixes #3088 for varnishstat note that besides handling SIGHUP, this also adds handling of SIGTERM and SIGINT, which were also missing.
-
- 09 Oct, 2019 6 commits
-
-
Nils Goroll authored
-
Dridi Boukelmoune authored
Refs a791188e
-
Alf-André Walla authored
-
Nils Goroll authored
backend None does not actually create a backend, so tests which require one need to use the bad_ip method.
-
Nils Goroll authored
... for those cases which can easily be changed (most of them). This avoids issues with failing tests when bad_ip is actually reachable via tcp on the respective port, as seen for example with b00068.vtc
-
Andrew Wiik authored
-
- 08 Oct, 2019 2 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 07 Oct, 2019 2 commits
-
-
Nils Goroll authored
by properly cleaning up the busyobj Also move the relevant code from cache_vrt.c to cache_fetch.c As we fini the director during cleanup, we now also need to handle the backend connection gone missing in vbf_stp_fetch(). The hypothetical alternative would be to not fini the director, but I believe this is not safe in case it also used some workspace. Fixes #3009
-
Nils Goroll authored
-