summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2010-07-05 07:05:35 +0000
committerdeva <deva>2010-07-05 07:05:35 +0000
commitbb405bf5f92f1d41073325d7619b009e134554a6 (patch)
tree7d32c7891f1d6eac76600e45b1561f7152170c81 /server
parentac4be2d9b4b90b4061c43e66754bfc60945ebabe (diff)
Fixed bug where an error was reported saying 'missing xml data' when called wityh an empty body (pure commit/discard)
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;