Commit graph

5 commits

Author SHA1 Message Date
Alistair Riddoch
81a8039b11 Make base stream class a template. 2012-07-30 19:18:18 +01:00
Alistair Riddoch
79d8ef1450 Shut down write side of http connection on eod
This ensures the data is actually transmitted. Calling close causes the
connection to get reset, often before the data has been transmitted at all.
Http now works way better.
2012-07-24 15:06:03 +01:00
Al Riddoch
0fac80ad64 2009-01-29 Al Riddoch <alriddoch@googlemail.com>
* server/CommClient.cpp, server/CommClient.h,
	  server/CommHttpClient.cpp, server/CommHttpClient.h:
	  Convert two stream classes to use the stream base class.
2009-01-29 18:11:35 +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
Al Riddoch
cd99b94e91 2008-08-29 Al Riddoch <alriddoch@googlemail.com>
* server/CommHttpListener.cpp, server/CommHttpListener.h: New
	  class to listen for http connections.

	* server/CommHttpClient.cpp, server/CommHttpClient.h: New class to
	  handle http requests.

	* server/server.cpp: Hack in a http listen socket on 6780.
2008-08-29 13:03:21 +00:00