bneradt opened a new pull request, #13461:
URL: https://github.com/apache/trafficserver/pull/13461

   JSONRPC server shutdown can race with worker thread startup. When the
   worker starts after stop_thread(), it restores the running flag and
   polls a closed socket indefinitely. This causes test_jsonrpcserver and
   process shutdown to hang.
   
   This marks the socket server as running before the worker is created,
   so a concurrent stop cannot be overwritten. It also passes the owning
   server to the worker instead of relying on the mutable global server
   pointer.


-- 
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]

Reply via email to