[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] NBD_CMD_DISC



On 9 Apr 2016, at 22:12, Eric Blake <eblake@...696...> 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.

I don't think there is a way in Go.

--
Alex Bligh




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Reply to: