• louiz’'s avatar
    Delete the timeout event using the correct socket number, instead of -1 · 7b785cf5
    louiz’ authored
    Was causing the event to not be removed in case of connection failure, which
    lead to a dangling timed event named “timeout-1”, which was called later, by
    some other SocketHandler for which even the socket creation failed (so, its
    socket is -1), with a pointer to the previous SocketHandler which has
    disappeared for a long time: segmentation fault etc.
socket_handler.cpp 12 KB