On Fri, Feb 07, 2025 at 11:27:52AM -0300, Fabiano Rosas wrote: > Add a task dispatcher for gnutls_bye similar to the > qio_channel_tls_handshake_task(). The gnutls_bye() call might be > interrupted and so it needs to be rescheduled. > > The migration code will make use of this to help the migration > destination identify a premature EOF. Once the session termination is > in place, any EOF that happens before the source issued gnutls_bye() > will be considered an error. > > Signed-off-by: Fabiano Rosas <faro...@suse.de> > --- > include/io/channel-tls.h | 12 ++++++ > io/channel-tls.c | 84 ++++++++++++++++++++++++++++++++++++++++ > io/trace-events | 5 +++ > 3 files changed, 101 insertions(+)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Acked-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|