[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCH] Ensure all options have option length





--On 16 May 2011 13:58:59 +0200 Wouter Verhelst <w@...112...> wrote:

However, it would require that the server sends some sort of
confirmation upon completing negotiation, so that the client knows
whether its option has been accepted or ignored. Currently the server
doesn't do that. I guess we can add a flag for that.

I guess it could echo the options it understood back (which would be
useful as it would allow the server to pass the client options too -
currently these are limited to flags). However, that would require
a change to how the existing one option is handled.

Another possibility would be to set (e.g.) the top bit of the option
number to mean "error if you don't understand this", which would be
rather less fine-grained.

--
Alex Bligh



Reply to: