[adding qemu list and Dan into the mix] On 04/09/2016 05:02 PM, Alex Bligh wrote: > > On 9 Apr 2016, at 22:12, Eric Blake <[email protected]> wrote: > >>> How would the client know that? I'm using Go's TLS library, and there is >>> no way (as far as I can tell) to ensure that. >> >> Likewise - if it's qemu's fault for not flushing the outgoing queue, >> then what's the right way to get that NBD_CMD_DISC flushed? > > You use GnuTLS. Having just (tonight) written something with > GnuTLS, I note that > gnutls_bye > is not being called (in qemu) before the connection is closed > (indeed it's not being called anywhere in qemu). Fixing that > might help.
Dan, sounds like your QIOChannel code should start using gnutls_bye(), as something to get into 2.6... -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
