src/cxx_supportlib/ServerKit/HttpHeaderParserState.h in passenger-6.0.20 vs src/cxx_supportlib/ServerKit/HttpHeaderParserState.h in passenger-6.0.23

- old
+ new

@@ -26,10 +26,12 @@ #ifndef _PASSENGER_SERVER_KIT_HTTP_HEADER_PARSER_STATE_H_ #define _PASSENGER_SERVER_KIT_HTTP_HEADER_PARSER_STATE_H_ #include <DataStructures/LString.h> #include <Algorithms/Hasher.h> +#include <ServerKit/llhttp.h> +#include <ServerKit/HeaderTable.h> namespace Passenger { namespace ServerKit { @@ -47,10 +49,11 @@ ERROR_NORMAL_HEADER_NOT_ALLOWED_AFTER_SECURITY_PASSWORD }; State state; bool secureMode; - http_parser parser; + llhttp_t parser; + llhttp_settings_t parser_settings; Header *currentHeader; Hasher hasher; };