[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 <ebl...@redhat.com> 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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to