- 04 Dec, 2018 4 commits
-
-
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.
-
- 03 Dec, 2018 16 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
This is caught by assert(lr == HSH_HIT || lr == HSH_GRACE); in cnt_lookup()
-
Nils Goroll authored
Closes #2743
-
Nils Goroll authored
in particular, move logging
-
Nils Goroll authored
-
Nils Goroll authored
they are the same case
-
Nils Goroll authored
Now that we got hit-for-pass (hfp) and hit-for-miss (hfm), we should name the latter consistently to avoid unnecessary confusion
-
Dag Haavi Finstad authored
-
Dridi Boukelmoune authored
A vmod may return a null IP. This relaxes the check in VRT_acl_match to fail the transaction instead of crashing. Refs #2842
-
Dag Haavi Finstad authored
-
Nils Goroll authored
Inclused re-declaration fixes for some places which I got wrong in the past.
-
Lasse Karstensen authored
Make it possible to change ncurses update rate.
-
Lasse Karstensen authored
-
Lasse Karstensen authored
-
Lasse Karstensen authored
This is a squashed commit including lint removal and formatting suggested by @nigoroll.
-
Poul-Henning Kamp authored
-
- 02 Dec, 2018 7 commits
-
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Partially addresses #2846. I've avoided mentioning NULL on purpose as it's not really meaningful nor accessible from VCL. ymmv.
-
Lasse Karstensen authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Add tests for vcl_keep and move vmod_so_keep together. Reported and diagnosed by jw @ irc.
-
- 28 Nov, 2018 2 commits
-
-
Nils Goroll authored
this would have caught 7395ecae
-
Nils Goroll authored
-
- 27 Nov, 2018 5 commits
-
-
Poul-Henning Kamp authored
Other polish.
-
Poul-Henning Kamp authored
$Module description, and suggest people to do it that way.
-
Nils Goroll authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Make reporting syntax errors easier.
-
- 26 Nov, 2018 2 commits
-
-
Dag Haavi Finstad authored
This adds rate limiting to varnishncsa and varnishlog. Rate limiting is done on a per-transaction basis, respective to the grouping mode selected. I.e. for -g request the limit will apply on a per-request basis, -g raw on a per-record basis, etc. Rate limit is specified as -R <limit>[/duration]. Default period if not specified is seconds ('s').
-
Dag Haavi Finstad authored
This adds a ctx->handling test at the beginning of any compound statement, to catch the cases where VRT_fail was invoked as part of an if test condition. Fixes: #2840
-
- 24 Nov, 2018 1 commit
-
-
Dridi Boukelmoune authored
This may break out of tree code not respecting include order of vdef.h first (or via cache/cache.h). It's trivial to fix and forces consumers to follow the tracks. Refs #2791
-
- 22 Nov, 2018 3 commits
-
-
Nils Goroll authored
Seen once, and failed to reprocuce (yet), needs to be understood better from vmod_blobdigest tests/usage.vtc: **** v1 1.8 CLI RX|No panic to clear *** v1 1.8 debug|Info: manager stopping child *** v1 1.8 debug|Debug: Stopping Child **** v1 1.9 vsl| 0 CLI - EOF on CLI connection, worker stops *** v1 2.8 debug|Info: Child (174227) ended *** v1 2.8 debug|Info: Child (174227) said Child dies *** v1 2.8 debug|Debug: Child cleanup complete *** v1 2.8 debug|Assert error in MCH_TrackHighFd(), mgt/mgt_child.c line 203: *** v1 2.8 debug| Condition(fd > 0) not true. **** v1 2.9 STDOUT poll 0x10 ** v1 2.9 WAIT4 pid=174215 status=0x0086 (user 0.914949 sys 0.567445) * v1 2.9 Expected exit: 0x0 signal: 0 core: 0 ---- v1 2.9 Bad exit status: 0x0086 exit 0x0 signal 6 core 128 * top 2.9 failure during reset
-
Nils Goroll authored
-
Nils Goroll authored
Side note #define CLOSE_FD_UP_TO mgt_max_fd exposes that we are currently missing to track some fds.
-