- 21 May, 2019 12 commits
-
-
Dridi Boukelmoune authored
Conflicts: bin/varnishtest/tests/m00011.vtc lib/libvmod_debug/vmod.vcc lib/libvmod_debug/vmod_debug.c
-
Dridi Boukelmoune authored
And sync the documentation with the current behavior, part of which used to be implicit. Conflicts: lib/libvmod_std/vmod.vcc lib/libvmod_std/vmod_std_conversions.c
-
Dridi Boukelmoune authored
Conflicts: lib/libvmod_std/vmod_std_conversions.c
-
Dridi Boukelmoune authored
This is how std.ip is documented, so VSS_ResolveOne doesn't work there. It might not be the only migration to VSS_ResolveOne that requires attention. Speaking of attention, VSA_Malloc may require some. Conflicts: lib/libvmod_std/vmod_std_conversions.c
-
Dridi Boukelmoune authored
It can now be shared by established callback-based resolvers and the new VSS_ResolveOne. This also changes the semantics of VSS_ResolveOne in the sense that the port is now a default port, overriden by the address if it contains one. Also make it clear that VTCP was already relying on a VSS function that didn't and still doesn't allow a null errp argument, while conversely all VTCP_open call sites provide a valid errp argument.
-
Dridi Boukelmoune authored
At this point the workspace already overflowed so there's no point making further progress to fail on the next workspace operation. Incidentally, we are failing for an IP conversion, not an integer. Conflicts: lib/libvmod_std/vmod_std_conversions.c
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
we want a single unique suckaddr. Conflicts: bin/varnishtest/vtc_client.c lib/libvmod_std/vmod_std_conversions.c
-
- 19 Feb, 2019 3 commits
-
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
- 12 Feb, 2019 9 commits
-
-
Poul-Henning Kamp authored
not need it (acceptor, h2_sess)
-
Nils Goroll authored
-
Nils Goroll authored
The moment we unlock the oh, another thread could rush req Partially undoes f35b86bc Huge thank you to @mbgrydeland for spotting my mistake
-
Nils Goroll authored
-
Nils Goroll authored
and polish the output formatting by reordering Ref #1799
-
Nils Goroll authored
Ref #2743
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
see 11 lines down Conflicts: bin/varnishd/cache/cache_hash.c
-
- 08 Feb, 2019 16 commits
-
-
Dag Haavi Finstad authored
req's on waiting list do indeed hold an objhead ref (req->hash_objhead), so the condition for the while loop in hsh_deref_objhead_unlock will always evaluate to false. This gets rid of the needless rushing code and replaces it with an assert.
-
Poul-Henning Kamp authored
Simplify the !busy cases Inspired by: #2856
-
Poul-Henning Kamp authored
Use req->hash_always_miss directly Inspired by: #2856
-
Poul-Henning Kamp authored
Refactor the hit-cases Inspired by: #2856
-
Poul-Henning Kamp authored
Move successful loop termination out of the loop. Inspired by: #2856
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
-
Martin Blix Grydeland authored
Make use of the new hsh_deref_objhead_unlock() in HSH_Lookup() to reduce the number of times the objhead mutex is taken during cache hits.
-
Martin Blix Grydeland authored
Split hsh_deref_objhead() into two parts, with the new hsh_deref_objhead_unlock() function expecting a locked objhead reference on input.
-
Martin Blix Grydeland authored
Make this function lower case for consistency.
-
Martin Blix Grydeland authored
This changes the hash slingers deref function to take a locked objhead on input, and unlocking it before returning. This saves a lock/unlock sequence for critbit (which is the critical one) on HSH_DerefObjHead.
-
Martin Blix Grydeland authored
Move the clean up call to HSH_DeleteObjHead inside of the hash deref methods that require it, instead of having the outside (single) caller do it based off the return value. This just cleans up and makes the logic more transparent.
-
Nils Goroll authored
This is caught by assert(lr == HSH_HIT || lr == HSH_GRACE); in cnt_lookup()
-
Nils Goroll authored
Closes #2743 Conflicts: doc/changes.rst doc/changes.rst was considered binary in master, it won't be in 6.0 so there will be no need to pick a1d2db69 too. Refs a1d2db69
-
Nils Goroll authored
in particular, move logging
-
Nils Goroll authored
-