rmaucher commented on issue #246: OpenSSLEngine improvements to guard against 
multiple shutdown() calls triggered by construction exception and finalize() 
later
URL: https://github.com/apache/tomcat/pull/246#issuecomment-588121408
 
 
   Well, personally I don't approve until there's an explanation.
   - I still don't see what the atomic boolean brings, all relevant code is 
already synchronized and the check on the boolean flag should be identical. I 
suppose the actual "fix" is the check if (networkBIO != 0).
   - "This can happen if there are uncaught exceptions within the OpenSSLEngine 
constructor, as finalization can execute concurrently with object 
construction": ok, so what is the uncaught exception ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to