bneradt opened a new pull request, #13472: URL: https://github.com/apache/trafficserver/pull/13472
Plugins can fill a text log buffer during TSPluginInit before logging preprocessing threads and their notification objects exist. This causes a null dereference that crashes traffic_server during startup. This problem is addressed in this patch by queuing those buffers without signaling until the logging workers exist. Their initial queue scan then flushes the pending data. A regression test forces a rollover during plugin initialization and verifies ATS stays up and preserves the log entry. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
