From efb0b27f5bc659a49e330fb7970a9b1b6ae0f398 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 23 Sep 2008 08:10:37 +0000 Subject: Made fix for the 'multiple xml buffers in single network buffer' problem. --- server/src/transactionparser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/src/transactionparser.h') diff --git a/server/src/transactionparser.h b/server/src/transactionparser.h index 3f477c9..1f7d23f 100644 --- a/server/src/transactionparser.h +++ b/server/src/transactionparser.h @@ -43,10 +43,14 @@ public: bool parse(std::string data); + unsigned int usedBytes(); + protected: int readData(char *data, size_t size); private: + unsigned int bufferbytes; + unsigned int totalbytes; Transaction *transaction; bool done; }; -- cgit v1.2.3