From bb405bf5f92f1d41073325d7619b009e134554a6 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 5 Jul 2010 07:05:35 +0000 Subject: Fixed bug where an error was reported saying 'missing xml data' when called wityh an empty body (pure commit/discard) --- server/src/connection.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'server') 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; -- cgit v1.2.3