X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fserver.h;fp=source%2Fhttp%2Fserver.h;h=d55b774d961392af735f2381444ba4193de57d05;hb=6625cf0e574406425c35d33110f8d99617e902df;hp=4835de039c87b46781499a52e54cb901782b5188;hpb=92e8064d9f43ca3e28ce9832cfe475034ab98704;p=libs%2Fnet.git diff --git a/source/http/server.h b/source/http/server.h index 4835de0..d55b774 100644 --- a/source/http/server.h +++ b/source/http/server.h @@ -22,11 +22,11 @@ private: { RefPtr sock; std::string in_buf; - Request *request; - Response *response; - bool keepalive; - bool async; - bool stale; + Request *request = 0; + Response *response = 0; + bool keepalive = false; + bool async = false; + bool stale = false; Client(RefPtr); ~Client(); @@ -35,7 +35,7 @@ private: Net::StreamServerSocket sock; std::list clients; std::map responses; - IO::EventDispatcher *event_disp; + IO::EventDispatcher *event_disp = 0; public: Server();