Problem: test_security_{zap|curve} often hangs
Solution: set 0 linger on the sockets immediately after creating them rather than immediately before closing them. Running through helgrind/drd highlights a few race conditions, one of which is the setting of linger vs checking it when closing the socket. Work around it by setting it immediately to fix the test hangs.
Showing
Please
register
or
sign in
to comment