doc/proto.md: Clients MUST not set unknown client flags
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.
Signed-off-by Alex Bligh <[email protected]>
--- doc/proto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/proto.md +1 -1
@@ -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
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.
Signed-off-by Alex Bligh <[email protected]>--- doc/proto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Eric Blake <[email protected]>
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org