Github user jaaju commented on the issue:

    https://github.com/apache/trafficserver/pull/1457
  
    @zizhong you need to call `exit` for normal process termination in case of 
SIGTERM so ASAN leak detection report is available. But since you can not call 
`exit` from the signal handler, what @jpeach suggests is to merely take note of 
the delivered signal and call `exit` later when normal process execution 
resumes. The pipe is a mechanism to wake up the code that calls `exit`, and you 
can write to the pipe calling only async-signal-safe routines.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to