diff options
author | deva <deva> | 2010-07-05 07:05:35 +0000 |
---|---|---|
committer | deva <deva> | 2010-07-05 07:05:35 +0000 |
commit | bb405bf5f92f1d41073325d7619b009e134554a6 (patch) | |
tree | 7d32c7891f1d6eac76600e45b1561f7152170c81 | |
parent | ac4be2d9b4b90b4061c43e66754bfc60945ebabe (diff) |
Fixed bug where an error was reported saying 'missing xml data' when called wityh an empty body (pure commit/discard)
-rw-r--r-- | server/src/connection.cc | 1 |
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; |