- 04 Oct, 2021 4 commits
-
-
Martin Blix Grydeland authored
Declare anonymous vsmw_cluster and vsc_seg structs in VSC header files. This is to silence errors when the header file is used in other contexts that don't know about these structs.
-
Martin Blix Grydeland authored
This is to resolve the chicken and egg problem of the VSC headers being generated only once bin/varnishd is built, while they are used in several VMODs and libraries. This moves the generation of the VSC .c and .h header files to a directory in lib that can be built earlier than its dependencies. Also Don't AC_SUBST the vsc files. The complete list of vsc files is known and listed in the .am file when automake is run, so there is no need to have configure.ac help with making lists.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 29 Sep, 2021 6 commits
-
-
Nils Goroll authored
Closes #3708
-
Nils Goroll authored
-
Nils Goroll authored
Conceptually, when HSH_Lookup() returns with HSH_BUSY, ownership of the request has been ceded: Right after Lck_Unlock(&oh->mtx) in HSH_Lookup(), it could have got picked up from the waitinglist by another thread and, in the extreme, could already be done with when HSH_Lookup() returns.
-
Nils Goroll authored
Ref #3707
-
Nils Goroll authored
Ref #3707
-
Nils Goroll authored
Ref #3707
-
- 28 Sep, 2021 5 commits
-
-
Nils Goroll authored
for the objgetspace callback This makes b17.vtc fail with fc1ce6da reverted.
-
Nils Goroll authored
To avoid code duplication, we only provide an init callback, which copies all other callbacks from the malloc storage.
-
Nils Goroll authored
The size argument of ObjGetSpace() is only a hint and storage engines are free to return whatever size. If the transient storage returned less space than requested, the session was closed (no response body sent) with SC_OVERLOAD and "Error: Could not get storage" logged.
-
Dridi Boukelmoune authored
-
Nils Goroll authored
Fixes #3706
-
- 27 Sep, 2021 1 commit
-
-
Dridi Boukelmoune authored
Closes #3692
-
- 25 Sep, 2021 1 commit
-
-
Nils Goroll authored
Use of SML is supported by the storage API though the sml_* function pointers. Yet, like struct object, struct storage is part of the simple storage (sml) implementation and does not belong to the storage API. Storage not using SML (that is, code which does not include storage_simple.h) should not be concerned with struct storage.
-
- 24 Sep, 2021 1 commit
-
-
Dridi Boukelmoune authored
-
- 23 Sep, 2021 1 commit
-
-
Dridi Boukelmoune authored
Even thought the first rxresp implies that the backend fetch must have completed, it is still possible to observe a streaming hit. Since resp.is_streaming merely looks at the presence of a boc, and not whether its state is lower than FINISHED, waiting until we see the fetch end in the logs and forcing a new client session should reduce the race window in those test cases. We could also try to settle on the value of resp.is_streaming when we hit an object in the cache or resume from a backend fetch and change the semantic to whether resp was streaming when VCL entered the subroutine. By that I mean, with a proper check of the boc state.
-
- 22 Sep, 2021 6 commits
-
-
Dridi Boukelmoune authored
Refs 02ada45c
-
Dridi Boukelmoune authored
Spotted by oss-fuzz.
-
Martin Blix Grydeland authored
This to silence errors on OSX where apparently int64_t isn't type equivalent to intmax_t, causing printf-errors when using %jd. Fixes: #3699
-
Dridi Boukelmoune authored
My bad.
-
Guillaume Quintard authored
fixes #3697
-
Dridi Boukelmoune authored
Going back to pretending 32bit bionic builds are fine until #3702 is sorted out. We have 32bit coverage in our vtest CI anyway. Reverts f8974400 Reverts c5ed00b6
-
- 21 Sep, 2021 1 commit
-
-
Poul-Henning Kamp authored
Fixes: #3688
-
- 20 Sep, 2021 12 commits
-
-
Dridi Boukelmoune authored
While at it, try to better formalize all the setup steps.
-
Dridi Boukelmoune authored
It operates on a pointer like FREE_OBJ() and clears it.
-
Dridi Boukelmoune authored
It turns out, in addition to beeing enclosed inside sh -c '...' the CFLAGS may also be nested inside "double" quotes.
-
Dridi Boukelmoune authored
Otherwise they interfere with the surrounding sh -c '...' command.
-
Dridi Boukelmoune authored
It's still a static library, but the build is slightly more uniform.
-
Dridi Boukelmoune authored
It's still a static library, but the build is slightly more uniform.
-
Dridi Boukelmoune authored
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
It has been deprecated long enough and could have gone away with the 7.0 release. Refs 7a85739b
-
Dridi Boukelmoune authored
It has been deprecated long enough and could have gone away with the 7.0 release. Refs 3fb17e94
-
Dridi Boukelmoune authored
To avoid trailing blanks in diffs I decided to use underscores. In curses test cases, pack process writes with the following expectations. Refs #3691
-
- 16 Sep, 2021 1 commit
-
-
Martin Blix Grydeland authored
Forgot to pass -i for inplace sed run
-
- 15 Sep, 2021 1 commit
-
-
Guillaume Quintard authored
fixes #3698
-