Repository navigation
Fixed
-
An SSL check no longer leaks its
SSLobject, 81 KB at a time. Three
places close a check connection, and only one of them shut the SSL side
down first; the one that runs when the worker is told to go did not,
so a check that was in flight at that moment left the object behind.
The shutdown also asked for a graceful close, which can return
NGX_AGAINand leave the object for a connection that is closed in the
next line anyway. All three now go through one place that takes the
quiet path, which frees the object there and then. -
CI: the Test::Nginx cache is now keyed by the Perl build, not just by
the runner OS. When the hosted image moved to Ubuntu 26.04 the cached
~/perl5tree was restored against a new interpreter and every test
file died before its first assertion withloadable library and perl binaries are mismatched, taking Build & Test, A/UBSan and Valgrind
down together. -
CI: the sanitizer run can see what it is for now. ngx_palloc hands
out slices of a pool block, so a write past an allocation landed inside
memory ASan had handed over whole and no report was made; nginx keeps a
switch for exactly this andNGX_DEBUG_PALLOCsends every allocation
straight to malloc. The reports were being lost as well, because nginx
redirects its own stderr onto the error log file as soon aserror_log
names one, so both sanitizers write to files of their own now and the
findings step runs even after a failed suite, which is precisely what a
worker that ASan took down leaves behind.