Actions
Bug #5336
closed[PATCH] test_ssl_session: wait for callbacks to run in server thread
Description
test/openssl/test_ssl_session.rb: wait for callbacks to run in server thread
Closing the SSL connection on the client side does not ensure the
server side has closed and called all the needed callbacks in
the server thread. Using Thread.pass here should force the
server thread to run and call the needed callbacks.
I needed to reproduce the case like this after a few loops:
while ./ruby -I .ext/x86_64-linux/ \
test/openssl/test_ssl_session.rb -v \
-n test_ctx_server_session_cb
do
:
done
The above loop appears to run indefinitely with this patch
applied.
Files
Actions
Like0
Like0Like0