Re: [PATCH 1/3] crypto: Add qcrypto_tls_shutdown()

2020-03-31 Thread Daniel P . Berrangé
On Tue, Mar 31, 2020 at 10:17:49AM -0500, Eric Blake wrote: > On 3/31/20 3:30 AM, Markus Armbruster wrote: > > Eric Blake writes: > > > > > Gnutls documents that applications that want to distinguish between a > > > clean end-of-communication and a malicious client abruptly tearing the > > >

Re: [PATCH 1/3] crypto: Add qcrypto_tls_shutdown()

2020-03-31 Thread Eric Blake
On 3/31/20 3:30 AM, Markus Armbruster wrote: Eric Blake writes: Gnutls documents that applications that want to distinguish between a clean end-of-communication and a malicious client abruptly tearing the underlying transport out of under our feet need to use gnutls_bye(). Our channel code is

Re: [PATCH 1/3] crypto: Add qcrypto_tls_shutdown()

2020-03-31 Thread Markus Armbruster
Eric Blake writes: > Gnutls documents that applications that want to distinguish between a > clean end-of-communication and a malicious client abruptly tearing the > underlying transport out of under our feet need to use gnutls_bye(). > Our channel code is already set up to allow shutdown

[PATCH 1/3] crypto: Add qcrypto_tls_shutdown()

2020-03-27 Thread Eric Blake
Gnutls documents that applications that want to distinguish between a clean end-of-communication and a malicious client abruptly tearing the underlying transport out of under our feet need to use gnutls_bye(). Our channel code is already set up to allow shutdown requests, but we weren't forwarding