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. I don't think there is a way in Go. -- Alex Bligh
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ 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
