Code cleanup.
This commit is contained in:
parent
2b87a10cf2
commit
7d1be2d234
19 changed files with 75 additions and 66 deletions
|
@ -59,6 +59,7 @@ public:
|
|||
|
||||
size_t parse(const char *data, size_t size);
|
||||
std::string ip() const;
|
||||
uint64_t elapsed() const;
|
||||
void close(int status = 0);
|
||||
|
||||
static HttpContext *get(uint64_t id);
|
||||
|
@ -74,7 +75,8 @@ private:
|
|||
|
||||
void setHeader();
|
||||
|
||||
bool m_wasHeaderValue;
|
||||
bool m_wasHeaderValue = false;
|
||||
const uint64_t m_timestamp;
|
||||
http_parser *m_parser;
|
||||
IHttpListener *m_listener;
|
||||
std::string m_lastHeaderField;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue