- 19 Aug, 2017 6 commits
-
-
Federico G. Schwindt authored
This is available after vcl_hash{}. Tests will follow.
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
LSAN is still disabled for now.
-
- 18 Aug, 2017 10 commits
-
-
Federico G. Schwindt authored
Travis sets CC _after_ before_install so use a different variable.
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Reported by LSAN.
-
Poul-Henning Kamp authored
two '-' prefix to be sure to apply where we want it.
-
Poul-Henning Kamp authored
Spotted while playing with: PC-lint Plus (RC1)
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Reported by LSAN.
-
Federico G. Schwindt authored
Reported by LSAN.
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
- 17 Aug, 2017 3 commits
-
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
Otherwise a field goes missing in SessOpen records.
-
Poul-Henning Kamp authored
-
- 16 Aug, 2017 1 commit
-
-
Pål Hermunn Johansen authored
When the do..while loop in HSH_Purge executes on a oh with many popular variants, there is a potential problem with the "array" of oc pointers, allocated in the thread workspace. If many of the oc's have positive refcounts, they will fill up the array and EXP_Rearm(oc, now, ttl, grace, keep); (void)HSH_DerefObjCore(wrk, &oc, 0); will be called several on the same oc's. At the same time, the counter n_obj_purged will be updated with a too low number. The test case demonstrates how we get a too low value for this counter, but it is not able to force varnishd to use a siginificant amount of CPU.
-
- 15 Aug, 2017 2 commits
-
-
Dag Haavi Finstad authored
This lets the request's vfp stack survive a VCL label change. Fixes: #2367
-
Federico G. Schwindt authored
-
- 14 Aug, 2017 18 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
Spotted by @fgsch
-
Dridi Boukelmoune authored
Refs #2362
-
Dridi Boukelmoune authored
This is moving some of the generally useful functions of vmod debug to a new one that is installed for use out of the Varnish source tree. Things weren't just moved from one source file to another, some functions were sligthly renamed, and the behavior of `barrier_sync` was changed to adhere to the "universal fail" and no longer returns a boolean. While at it, I added missing __match_proto__ macros to vmod debug. Refs #2276 Closes #2362
-
Dridi Boukelmoune authored
When versioning appeared in the VRT API, the goal was to allow loose ABI compliance on loaded VMODs based on the major/minor revision against which it was built. Strict checking was performed if Varnish was built from the master branch in the VCC code, but omitted by the child. This however has two flaws: 1) Release management might go wrong like it happened in 5.1.2 that got released from the master branch. 2) This doesn't solve the original problem that some VMODs might rely on supported symbols encompassed by the VRT major/minor while others may choose to integrate deeper with Varnish and lose guarantees. This patch retires the `VCS_Branch` macro that is no longer needed and provides a new `$ABI` stanza that defaults to strict when omitted. To help discovery, in-tree modules advertise a strict match. To indicate that a VMOD needs the exact Varnish build to be loaded, the VMOD's metadata contains 0.0 for the VRT major/minor revision. In addition, both the VCC and child now perform the full ABI compliance check, picking the strict or vrt option depending on the VMOD's metadata. Closes #2330
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
This does not include VMOD space, but that is pretty much everything else. Refs #2325
-
Dridi Boukelmoune authored
Refs #2325
-
Dridi Boukelmoune authored
There's already an impedence mismatch between both languages and it's going to increase soon. Refs #2325
-
Dridi Boukelmoune authored
For that, an indirection via VRT_acl_match is needed, because ACLs are a special case being functions. However they've had "regular" symbols ever since VMODs learned to use them. Refs #2325
-
Dridi Boukelmoune authored
Refs #2325
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
Instead of a printf format, a mandatory prefix is expected. Refs #2325
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-