Fix query processing for Livestatus queries which use KeepAlive

fixes #9322
This commit is contained in:
Gunnar Beutner 2015-10-16 15:11:32 +02:00
parent 35cbcde281
commit a9f14f11e4
1 changed files with 2 additions and 1 deletions

View File

@ -177,9 +177,10 @@ void LivestatusListener::ClientHandler(const Socket::Ptr& client)
Stream::Ptr stream = new NetworkStream(client); Stream::Ptr stream = new NetworkStream(client);
StreamReadContext context;
for (;;) { for (;;) {
String line; String line;
StreamReadContext context;
std::vector<String> lines; std::vector<String> lines;