600e042 Responders: Fix client destructor

1 file Authored by simo 5 years ago, Committed by jhrozek 5 years ago,
    Responders: Fix client destructor
    To close a socket associated to an fd event we must set the close
    function of the event and not associate a destructor to a parent context.
    Otherwise the destructor will close() the socket before the fd event is
    freed, and this may cause invalid calls on a closed file descriptor to
    Discovered by looking at strace output.
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>