You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The poll() check from #12783 relied on POLLIN to detect crash data, but
this is unreliable - on some systems poll() sets POLLIN for EOF (socket
closed without data). Instead, we now verify crash data by actually
reading from stdin: if read() returns 0 bytes in wait_mode,
traffic_server exited normally and crash_logger_invoke was never called,
so we exit without logging. This actually (as opposed to the previous
patch) distinguishes a real crash (data written then pipe closed) from a
normal exit (pipe just closed).
0 commit comments