From bdc4b194df476282a80f7432f444575a37278ecd Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 12 Mar 2014 16:18:49 +0100 Subject: [PATCH] Added a missing return statement in HTTPReader::Read --- lib/http_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/http_parser.cpp b/lib/http_parser.cpp index bcdb1763..c1d9e8e5 100644 --- a/lib/http_parser.cpp +++ b/lib/http_parser.cpp @@ -334,6 +334,7 @@ bool HTTP::Parser::Read(Socket::Connection & conn){ if (conn.Received().size()){ return Read(conn); } + return false; } //HTTPReader::Read /// Attempt to read a whole HTTP request or response from a std::string buffer.