Re: [Nbd] [PATCH v4 04/11] nbd: Improve server handling of bogus commands
- To: Alex Bligh <alex@...872...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>, Paolo Bonzini <pbonzini@...696...>, "qemu-devel@...530..." <qemu-devel@...530...>, qemu block <qemu-block@...530...>
- Subject: Re: [Nbd] [PATCH v4 04/11] nbd: Improve server handling of bogus commands
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 15 Jun 2016 14:13:18 +0200
- Message-id: <20160615121318.GA30395@...3...>
- In-reply-to: <2974A238-B81A-4D02-9FB6-7A70C0AA6E8F@...872...>
- References: <1463006384-7734-1-git-send-email-eblake@...696...> <575EA656.80508@...696...> <6DD06745-C91C-4BFB-BFE5-92E5982ACB42@...872...> <11f620d2-a51d-5235-5abd-4ced314c9090@...696...> <38ABE56B-CA23-4372-A413-CDA72BDAE86A@...872...> <20160615070522.GC3787@...3...> <20160615080346.GA6994@...3...> <077010D7-81BE-4AD5-B36A-408844852006@...872...> <2050439854.22663791.1465982331939.JavaMail.zimbra@...696...> <2974A238-B81A-4D02-9FB6-7A70C0AA6E8F@...872...>
On Wed, Jun 15, 2016 at 11:27:21AM +0100, Alex Bligh wrote:
> Perhaps this should read "If an error occurs, the server MUST either initiate
> a hard disconnect before the entire payload has been sent or
> set the appropriate code in the error field and send the response header
> without any payload." if we want to go down this route.
Something along those lines is what I meant, yes.
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
Reply to: