Commit 75b4c4fc authored by Davis King's avatar Davis King

Merged in Steven Van Ingelgem's patch to cleanup the HTTP server and

add new functionality.  This breaks backwards compatibility with the
previous on_request() interface but it is easy to update old code and
it is now much cleaner.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402931
parent e5dbf8ff
......@@ -30,9 +30,6 @@ namespace dlib
typedef sockstreambuf::kernel_1a ssbuf1a;
typedef sockstreambuf::kernel_2a ssbuf2a;
typedef map<std::string,std::string>::kernel_1a_c map_ss_type;
typedef queue<std::string>::kernel_1a_c queue_type;
typedef map<uint64,connection*,memory_manager<char>::kernel_2a>::kernel_1b id_map;
public:
......@@ -52,9 +49,9 @@ namespace dlib
iostream_1a_c;
// http_1a
typedef server_http_1<iostream_1a,map_ss_type,queue_type>
typedef server_http_1<iostream_1a>
http_1a;
typedef server_http_1<iostream_1a_c,map_ss_type,queue_type>
typedef server_http_1<iostream_1a_c>
http_1a_c;
};
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment