Asad Sajjad Ahmed
Asad Sajjad Ahmed
Enable -Wvla by default, if supported by the compiler, to warn about Variable Length Arrays (VLA). Misuse of VLAs can result in a stack overflow. VLA can sometimes simplify things,...
A new attribute can be used for flexible arrays to make the compiler smarter: - https://clang.llvm.org/docs/AttributeReference.html#counted-by - https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628459.html This would improve the array bound sanitizer. Note: this has not been...
This extra information comes handy when trubleshooting idle timeout from the backend.
Make the acceptor code plugable and start off with two acceptor modules TCP and UDS. Adding a new QUIC acceptor module in the future should be easy now.
The reuseport parameter controls whether or not we will create a listen group in the kernel using SO_REUSEPORT (or SO_REUSEPORT_LB for some platforms). This leads to a more efficient load...
This PR adds a default back-trace to all asserts outside of varnishd, e.g., varnishstat. Also add back-trace to varnishtest asserts. Example (artificially crafted asserts): --- Before: ```c Assert error in...
There is a race between the time we connect to a backend and when we increase the connection count. This race is not normally observed, but when .max_connections property is...
Start off by adding -Wpadded and -Wno-error=padded . This is useful when investigating holes in the struct layout. Alternatively, the pahole utility can be used for this. Dridi suggested that...
Abstract vbe_close_acct, this is supposed to mimic the ses_close_acct for backends. We have up until now not exposed `htc->doclose` (backend errors) to any counters as we do for `req->doclose` (session...