Commit graph

25 commits

Author SHA1 Message Date
Mathieu Schroeter
e7be91ef14 Fixes #87: now connects to socket when using second Client::request method 2016-11-23 13:43:00 +01:00
eidheim
76bf8942fd Made Client::close thread safe 2016-11-23 10:32:53 +01:00
eidheim
b1200958cc Added workaround for buggy MSVS 2016-11-23 09:24:41 +01:00
eidheim
56d36ddf92 Related to #86: added Client::close method 2016-11-23 09:13:55 +01:00
eidheim
8a73cb381a Fixes #86: can now set timeout on client requests 2016-11-23 07:01:48 +01:00
eidheim
2f32a2b52f Client now uses asynchronous asio read/write calls 2016-11-23 06:01:39 +01:00
eidheim
d94f6d6d27 Slight optimisation: less copies of shared_ptr objects 2016-10-19 09:16:02 +02:00
eidheim
1268c5b6de Changed private to protected in Server/Client<HTTP/HTTPS> classes, and some cleanup 2016-08-21 10:59:24 +02:00
eidheim
7ebf75817b Minor cleanup: removed a set_timeout_on_socket version that is no longer needed 2016-06-30 09:49:26 +02:00
eidheim
79dca558d2 Resolved most warning messages when compiled with -Wextra or -Weverything. Related to #44 and #45 2016-05-02 13:12:57 +02:00
eidheim
357e57f70c Added reference to case insensitive implementation of unordered_multimap 2016-02-24 09:17:09 +01:00
eidheim
3c4c378655 Fixes #35 for both client and server source 2016-02-24 09:13:23 +01:00
eidheim
3341badb41 Fixes #38 2016-02-23 20:24:39 +01:00
eidheim
ef7f4692a4 Fixes #33 2016-01-06 12:45:21 +01:00
eidheim
99204ec73d content parameter in Client::request is now of type std::iostream 2016-01-06 11:58:11 +01:00
eidheim
e6a3205e18 Improved Client::parse_response_header, and simplified endpoint code in Server::start. 2015-11-26 14:29:43 +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
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
8bd90d220c Fixed default parameter of header for ClientBase::request 2014-10-10 18:42:24 +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
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
eidheim
bfa0946ff9 forgot client-files 2014-08-11 10:06:46 +02:00