Re: [Nbd] [PATCHv2] Docs: improve description of disconnection methods

2016-04-14 Thread Alex Bligh
Eric, (comments taken unless otherwise detailed). >> + >> +If either the client or the server detects a violation of a >> +mandatory condition ('MUST' etc.) by the other party, it MAY >> +initiate a hard disconnect. >> + >> +A client MAY use a soft disconnect to terminate the session >>

Re: [Nbd] [PATCHv2] Docs: improve description of disconnection methods

2016-04-14 Thread Eric Blake
On 04/14/2016 12:52 PM, Alex Bligh wrote: > Improve the documentation as per the mailing list discussion. > Here's what we decided (broadly). > > * The server SHOULD NOT otherwise drop the connection. It can wait > and error the next command. Clearly there are situations where > this is going

[Nbd] [PATCHv2] Docs: improve description of disconnection methods

2016-04-14 Thread Alex Bligh
Improve the documentation as per the mailing list discussion. Here's what we decided (broadly). * One side MAY drop the connection if the other end violates a MUST condition. * The server MUST drop the connection in the 'no way out' situations during the negotiation phase (error on