Skip to contentSkip to conversation

doc/proto.md: Clients MUST not set unknown client flags

PATCH In review Alex Bligh 2 participants 2 messages Apr 1, 2016

lore
Share & tools
lore

Alex Bligh

author
#0 lore raw

PATCH 1/1 doc/proto.md: Clients MUST not set unknown client flags

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.

---
 doc/proto.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/proto.md +1 -1
index 8c83382..6a7ebda 100644
@@ -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.
 
Signature · 1 line
1.9.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · 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.

---
 doc/proto.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org