You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/06/09 19:00:05 UTC

[GitHub] [trafficserver] ywkaras opened a new issue, #8903: Mutex use in APIHook::invoke() seems moot and crash prone.

ywkaras opened a new issue, #8903:
URL: https://github.com/apache/trafficserver/issues/8903

   https://github.com/apache/trafficserver/blob/d18721884615958f151eee084244c506552c6512/src/traffic_server/InkAPI.cc#L1368
   
   What is the point of a mutex, if the application will crash when there is contention for it.  If you really want that behavior, you could just use an atomic<bool>, not a mutex.  A Yahoo plugin, that uses the TS_LIFECYCLE_SSL_SECRET_HOOK, is crashing at the ink_release_assert().  Because it's expecting a mutex to be, ya know, a mutex.


-- 
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: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] github-actions[bot] commented on issue #8903: Mutex use in APIHook::invoke() seems moot and crash prone.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8903:
URL: https://github.com/apache/trafficserver/issues/8903#issuecomment-1585423838

   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org