Commit graph

7 commits

Author SHA1 Message Date
Erik Ogenvik
04fe84821e Use proper singletons everywhere.
I.e. ones where the lifespan is fully controlled.
The only exception is Options, since it's accessed during static
initialization.
2018-08-04 18:01:20 +02:00
Erik Ogenvik
e7fa53214b Use nullptr instead of NULL. 2018-02-06 13:45:11 +01:00
Olek Wojnar
7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
238779179f NULL HttpCacha singleton pointer on delete 2010-07-30 15:51:23 +01:00
Alistair Riddoch
6610f1c223 Make constructor protected so it can be exposed for testing. 2010-07-30 15:44:33 +01:00
Al Riddoch
de4f241e4e 2008-08-29 Al Riddoch <alriddoch@googlemail.com>
* common/Monitors.cpp, common/Monitors.h: Add a new class to handle
	  storing key value pairs useful in monitoring the state of a server.

	* server/HttpCache.cpp, server/HttpCache.h: Add a function argument
	  to allow the content type to be controlled in the header.
	  Expose the Monitors class under /monitors URL.
2008-08-30 16:29:11 +00:00
Al Riddoch
70217db55b 2008-08-29 Al Riddoch <alriddoch@googlemail.com>
* server/HttpCache.cpp, server/HttpCache.h: A caching file to handle
	  http data requests.

	* server/CommHttpClient.cpp, server/CommHttpClient.h: Move most of
	  the functionality into HttpCache.
2008-08-29 16:06:59 +00:00