eidheim
|
45f84489bc
|
Client::io_service is now shared_ptr
|
2017-06-12 07:57:10 +02:00 |
|
eidheim
|
83691c6e9a
|
Fixes #129: linking issues related to case_insensitive_equal and make_error_code
|
2017-06-10 15:03:27 +02:00 |
|
eidheim
|
111aeeb7fc
|
Renamed case insensitive function and classes, and added test for case_insensitive_equal
|
2017-06-10 11:17:49 +02:00 |
|
eidheim
|
ec63c4345e
|
Cleanup of #127: using standalone asio.
|
2017-06-07 19:27:34 +02:00 |
|
Sébastien Huss
|
d50bcabf8e
|
added Support for NO_BOOST
|
2017-06-05 07:39:58 +02:00 |
|
eidheim
|
6192c131ef
|
Fixed #112: Client now supports Connection: close responses without Content-Length and Transfer-Encoding. Also supports HTTP 1.0 responses that does not specify content length
|
2017-02-24 19:16:15 +01:00 |
|
eidheim
|
91d01fb8ec
|
Fixes #101: added Config::timeout_connect
|
2017-01-21 10:22:27 +01:00 |
|
eidheim
|
549bc646bb
|
Case insensitive header cleanup. Also cleanup and additions to parse_test
|
2016-12-31 10:34:03 +01:00 |
|
Ziyi Zhang
|
5cdf4aa540
|
Avoid compiling error in MSVC
|
2016-12-20 15:22:03 +11:00 |
|
eidheim
|
4606dbd855
|
Fixes Client<HTTPS> proxy requests. See #83
|
2016-12-16 11:11:58 +01:00 |
|
eidheim
|
dc7762e63b
|
Fixes #91: added timeout on Client's async_connect
|
2016-12-11 10:53:33 +01:00 |
|
eidheim
|
ddb5622f76
|
Fixed request path when using proxy with HTTPS client
|
2016-11-26 10:33:11 +01:00 |
|
eidheim
|
599775c83f
|
Made protocol() const, added default proxy ports, and added handshake on https proxy (based on #83)
|
2016-11-25 12:44:59 +01:00 |
|
eidheim
|
4141b76574
|
Cleanup of Client::connect methods
|
2016-11-24 18:05:19 +01:00 |
|
eidheim
|
f8cae4fde5
|
Corrected path when using proxy server in client
|
2016-11-24 17:55:09 +01:00 |
|
eidheim
|
9d9a8622d5
|
Added proxy server support to Client. Based on #83
|
2016-11-24 14:07:11 +01:00 |
|
Mathieu Schroeter
|
59bf48b37f
|
Fixes #88: no longer tries to read and write 0 bytes in Client when reading chunked transfer encoding
|
2016-11-23 14:43:28 +01:00 |
|
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 |
|