From 15e216ff7c7b683cd9c912523e1d04c7180e8022 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 3 May 2016 08:15:06 +0300 Subject: [PATCH] Clarify that single-line don't need a newline terminator --- loolwsd/protocol.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loolwsd/protocol.txt b/loolwsd/protocol.txt index 22e868283..5f8d780ae 100644 --- a/loolwsd/protocol.txt +++ b/loolwsd/protocol.txt @@ -1,6 +1,6 @@ All communication consists of messages that are one line of -human-readable UTF-8 text optionally followed by a single newline and -binary data. +human-readable UTF-8 text (with no terminating newline), optionally +followed by a single newline and binary data. The protocol is not a request-response one. Messages may be sent in either direction at any time, either in response to some message, or