cid#318856 Uninitialized scalar field
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I2a6c3e9d021884b898f9efdc51c528428321d6f0
This commit is contained in:
parent
2e38ab907c
commit
2f9c9396d3
1 changed files with 3 additions and 0 deletions
|
@ -797,6 +797,9 @@ public:
|
|||
/// Used for generating an outgoing response.
|
||||
explicit Response(StatusLine statusLineObj, int fd = -1)
|
||||
: _statusLine(std::move(statusLineObj))
|
||||
, _state(State::New)
|
||||
, _parserStage(ParserStage::StatusLine)
|
||||
, _recvBodySize(0)
|
||||
, _fd(fd)
|
||||
{
|
||||
_header.add("Date", Util::getHttpTimeNow());
|
||||
|
|
Loading…
Reference in a new issue