Bug 1305953 - Initialize some HttpServer & HttpServer::Connection members. r=kvijayan

This commit is contained in:
Paul Bignier 2016-09-28 11:52:18 +02:00
parent 563356ec62
commit 1228a095f4

View File

@ -37,6 +37,8 @@ NS_IMPL_ISUPPORTS(HttpServer,
nsILocalCertGetCallback)
HttpServer::HttpServer()
: mPort()
, mHttps()
{
}
@ -303,6 +305,8 @@ HttpServer::Connection::Connection(nsISocketTransport* aTransport,
: mServer(aServer)
, mTransport(aTransport)
, mState(eRequestLine)
, mPendingReqVersion()
, mRemainingBodySize()
, mCloseAfterRequest(false)
{
nsCOMPtr<nsIInputStream> input;