Received: from eggs.gnu.org ([2001:4830:134:3::10]:44997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alvqo-0000q5-Es for qemu-devel@nongnu.org; Fri, 01 Apr 2016 05:58:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alvql-0000bX-9D for qemu-devel@nongnu.org; Fri, 01 Apr 2016 05:58:46 -0400 Received: from mail.avalus.com ([89.16.176.221]:49414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alvql-0000bS-3H for qemu-devel@nongnu.org; Fri, 01 Apr 2016 05:58:43 -0400 From: Alex Bligh Date: Fri, 1 Apr 2016 10:58:39 +0100 Message-Id: <1459504719-65038-1-git-send-email-alex@alex.org.uk> Subject: [Qemu-devel] [PATCH] doc/proto.md: Clients MUST not set unknown client flags List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , Wouter Verhelst Cc: "nbd-general@lists.sourceforge.net" , "qemu-devel@nongnu.org" , Alex Bligh Clients MUST NOT set unknown client flags. Currently this is permitted (but 'SHOULD NOT' be done), with the result that the server MUST drop the connection if it happens. This in effect gives the client an inappropriate way to close the connection. Signed-off-by: Alex Bligh --- doc/proto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/proto.md b/doc/proto.md index 8c83382..6a7ebda 100644 --- a/doc/proto.md +++ b/doc/proto.md @@ -308,7 +308,7 @@ receiving the handshake flags from the server. set `NBD_FLAG_NO_ZEROES`. If set, the server MUST NOT send the 124 bytes of zeroes at the end of the negotiation. -Clients SHOULD NOT set any other flags; the server MUST drop the +Clients MUST NOT set any other flags; the server MUST drop the connection if the client sets an unknown flag, or a flag that does not match something advertised by the server. -- 1.9.1