• Luca Boccassi's avatar
    Problem: test_security_{zap|curve} often hangs · de8f14ad
    Luca Boccassi authored
    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.
    de8f14ad
testutil_security.hpp 23.1 KB