summaryrefslogtreecommitdiff
path: root/lib/server/Protocol.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-03-02 08:58:41 +0000
committerChris Wilson <chris+github@qwirx.com>2014-03-02 08:58:41 +0000
commit772ecab2a053fefbf7b65e66e05babfb21920aea (patch)
tree25e538a40637b2bc9ae2eb0b48be2cef6388272e /lib/server/Protocol.h
parent7f8353d71c272415d09531c46888560b7ea7de8f (diff)
Add information about last exchange when wrong type of object received.
Helps with debugging ConnectionException::Protocol_StreamWhenObjExpected and ConnectionException::Protocol_ObjWhenStreamExpected errors, which may be caused by a command returning an error message and failing to consume any uploaded streams first. Add extra debugging in ProtocolLocal objects to detect when this happens during the command itself, which helps with debugging.
Diffstat (limited to 'lib/server/Protocol.h')
-rw-r--r--lib/server/Protocol.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/server/Protocol.h b/lib/server/Protocol.h
index 0995393d..6a63d3b2 100644
--- a/lib/server/Protocol.h
+++ b/lib/server/Protocol.h
@@ -211,4 +211,3 @@ class ProtocolContext
};
#endif // PROTOCOL__H
-