initialize compression type to be no compression

This commit is contained in:
Dennis Luxen 2015-01-26 11:25:10 +01:00
parent 29949eae1b
commit 601eff1af6

View File

@ -32,7 +32,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace http
{
RequestParser::RequestParser() : state_(method_start), header({"", ""}) {}
RequestParser::RequestParser()
: state_(method_start), header({"", ""}), compression_type(noCompression)
{
}
void RequestParser::Reset() { state_ = method_start; }