summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/connection.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/connection.cc b/server/src/connection.cc
index dec3967..17ec942 100644
--- a/server/src/connection.cc
+++ b/server/src/connection.cc
@@ -113,6 +113,7 @@ bool Connection::handle(const char *data, size_t size)
try {
if(!data || !size) {
+ parser_complete = true;
commit(session);
discard(session);
return true;