Commit graph

302 commits

Author SHA1 Message Date
Ole Christian Eidheim
ed4d8a9433 Merge pull request #5 from craigminihan/patch-1
Require Boost version 1.55 or later
2015-02-25 15:17:06 +01:00
Craig Minihan
6229c14b79 Require Boost version 1.55 or later 2015-02-25 12:13:23 +00:00
eidheim
d59a789881 default_resource: added direct write to response stream. 2015-02-23 10:03:18 +01:00
eidheim
6c85e3b739 Minor fix 2015-02-23 09:49:32 +01:00
eidheim
0acc7455f8 Faster default_resource for files smaller than buffer_size. 2015-02-23 09:46:29 +01:00
eidheim
525eb2983b Slightly faster resource lookup. 2015-02-22 15:26:30 +01:00
Ole Christian Eidheim
8818a4c8e0 Update README.md 2015-02-22 15:08:46 +01:00
eidheim
7aae65b1b5 All resources now again uses regex for path, since requests/second were no longer much affected by this. 2015-02-22 12:06:30 +01:00
eidheim
a6154c7c5b Added custom response stream and possibility to flush response to clients synchronously and asynchronously. Various speed ups, including reduced use of regex and preprocessing of regex objects. boost::asio::ip::tcp::no_delay is now turned on for both Client and Server. Note: Not backward compatible with earlier versions. 2015-02-20 11:14:39 +01:00
Ole Christian Eidheim
79903b6abb Update README.md 2015-01-30 17:34:48 +01:00
Ole Christian Eidheim
0a33b2e054 Update README.md 2015-01-30 17:27:12 +01:00
Ole Christian Eidheim
9a918ed839 Update README.md 2015-01-30 17:26:09 +01:00
Ole Christian Eidheim
109c825d7a Update README.md 2015-01-30 17:25:09 +01:00
Ole Christian Eidheim
28fc2da2b4 Update README.md 2015-01-30 17:23:29 +01:00
Ole Christian Eidheim
85fd8a46a0 Update README.md 2015-01-10 10:20:52 +01:00
Ole Christian Eidheim
cc15f19e94 Update README.md 2015-01-10 10:19:53 +01:00
Ole Christian Eidheim
e1f7d81d95 Update README.md 2015-01-10 10:04:14 +01:00
eidheim
07d43c7311 Made read_json thread-safe. 2015-01-10 09:56:35 +01:00
eidheim
37e12d0a63 Added threads.clear() in ServerBase::start. 2015-01-09 13:01:30 +01:00
eidheim
0c96e9f845 Added all_resources.clear() to ServerBase::start in case server is restarted. 2015-01-09 12:27:16 +01:00
eidheim
af3f846b2b Added CMakeLists.txt. I'm not a cmake-expert, feedback would be much appreciated. 2014-11-28 21:49:59 +01:00
eidheim
4a63b126b3 renamed #define CLIENT_WS_HPP and CLIENT_WSS_HPP to CLIENT_HTTP_HPP and CLIENT_HTTPS_HPP. 2014-11-02 12:27:18 +01:00
eidheim
db365340bf Added option for verify_file in Server-constructor, and certification/key file and verify_file for Client-constructor (Warning: not tested). Also moved set_timeout_on_socket to the ServerBase. 2014-11-01 18:18:00 +01:00
eidheim
8bd90d220c Fixed default parameter of header for ClientBase::request 2014-10-10 18:42:24 +02:00
eidheim
084f45cc33 Added Server::stop() 2014-09-28 13:05:24 +02:00
Ole Christian Eidheim
2f75911550 Update README.md 2014-09-25 15:20:08 +02:00
Ole Christian Eidheim
b2532affaf fixed comment 2014-08-30 09:14:41 +02:00
Ole Christian Eidheim
84d5fe7a2a fixed comment 2014-08-30 09:14:09 +02:00
eidheim
3367b86f07 Changed ..-replacement in examples 2014-08-29 19:02:34 +02:00
eidheim
b174ad5232 removed comment 2014-08-13 09:54:19 +02:00
eidheim
93e811d649 added header parameter to Client::request 2014-08-13 09:53:35 +02:00
Ole Christian Eidheim
6714b15123 Update README.md 2014-08-13 08:25:46 +02:00
eidheim
a39235ad87 removed no_delay test 2014-08-12 07:51:31 +02:00
eidheim
38ca7e5575 renamed streambuf to content_buffer 2014-08-12 07:47:27 +02:00
eidheim
d22382959c minor update 2014-08-11 10:28:34 +02:00
Ole Christian Eidheim
6c9b769915 minor fix 2014-08-11 10:10:19 +02:00
Ole Christian Eidheim
cff6807f49 fixed typo 2014-08-11 10:08:19 +02:00
eidheim
bfa0946ff9 forgot client-files 2014-08-11 10:06:46 +02:00
eidheim
256dd6fe32 removed comments 2014-08-11 10:05:44 +02:00
eidheim
313bc233d0 renamed example files 2014-08-11 10:04:36 +02:00
eidheim
8bc7d3e623 Some bugfixes and cleanup. Added client 2014-08-11 10:03:27 +02:00
Ole Christian Eidheim
cdd17ad6bb Update README.md 2014-08-09 16:03:19 +02:00
eidheim
2bf96a0e83 minor cleanup 2014-08-07 08:30:52 +02:00
eidheim
fe90ba9d57 minor cleanup 2014-08-07 08:26:51 +02:00
eidheim
cdf7114f2d Added possibility of no timeout (=0) 2014-08-05 17:22:55 +02:00
eidheim
c12e026e0e Minor changes 2014-08-04 23:23:58 +02:00
eidheim
b1a91fb923 Added timeouts 2014-08-04 23:12:23 +02:00
Ole Christian Eidheim
94cae44e15 Update README.md 2014-08-02 14:24:59 +02:00
Ole Christian Eidheim
8b9f353c3e Update README.md 2014-08-02 11:40:17 +02:00
eidheim
df5da942f6 renamed server.resources to server.resource 2014-08-01 13:30:11 +02:00