Sébastien Huss
|
36c2264bdc
|
oups forgot to link to openssl
|
2016-12-20 22:18:00 +01:00 |
|
Sébastien Huss
|
d4f5fddba3
|
Made the cache feature secured in #ifdef block and added it to the http
example too
|
2016-12-20 22:15:58 +01:00 |
|
Sébastien Huss
|
9492b942b9
|
Added support for HTTP caching in the https example
|
2016-12-20 22:02:52 +01:00 |
|
eidheim
|
9e29d2d572
|
Added Crypto::pbkdf2
|
2016-12-20 16:17:00 +01:00 |
|
eidheim
|
2daf3836fc
|
Renamed Crypto:: hash methods
|
2016-12-20 15:54:51 +01:00 |
|
eidheim
|
5c5a1f78b2
|
Added crypto.hpp for convenient C++ wrappings for commonly used OpenSSL functions
|
2016-12-20 12:21:38 +01:00 |
|
Ziyi Zhang
|
5cdf4aa540
|
Avoid compiling error in MSVC
|
2016-12-20 15:22:03 +11:00 |
|
eidheim
|
db95a64354
|
Minor cleanup
|
2016-12-19 09:08:35 +01:00 |
|
eidheim
|
d19244e01f
|
Minor cleanup
|
2016-12-19 09:05:55 +01:00 |
|
eidheim
|
eef8a10849
|
Added error reporting through on_error std::function
|
2016-12-19 08:44:41 +01:00 |
|
eidheim
|
8a88a019ea
|
Minor cleanup, replaced expression with std::min
|
2016-12-18 17:34:22 +01:00 |
|
eidheim
|
7a97f8218d
|
Added client verification when a verify file is passed to Server<HTTPS>. Also sets session_id_context for session reuse. See #89
|
2016-12-18 17:22:04 +01:00 |
|
eidheim
|
8fa7de4a2b
|
Cleanup of Client<HTTPS> constructor
|
2016-12-18 11:18:16 +01:00 |
|
eidheim
|
4606dbd855
|
Fixes Client<HTTPS> proxy requests. See #83
|
2016-12-16 11:11:58 +01:00 |
|
Tadeu
|
dc74f7739e
|
compile clean with gcc 4.6.3
|
2016-12-12 22:05:17 +00:00 |
|
eidheim
|
dc7762e63b
|
Fixes #91: added timeout on Client's async_connect
|
2016-12-11 10:53:33 +01:00 |
|
eidheim
|
14d848be3e
|
string::substr comparisons replaced by string::compare
|
2016-12-04 14:25:11 +01:00 |
|
eidheim
|
4a97949953
|
Security fix for Client<HTTPS>: added host verification, fixes #90
|
2016-12-04 13:45:39 +01:00 |
|
eidheim
|
302f980cf3
|
Added extra test: check if the stream version of the client request methods works if called first
|
2016-11-26 10:45:17 +01:00 |
|
eidheim
|
ddb5622f76
|
Fixed request path when using proxy with HTTPS client
|
2016-11-26 10:33:11 +01:00 |
|
eidheim
|
fa4dd130e5
|
Fixed proxy status code check
|
2016-11-25 12:49:48 +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 |
|
eidheim
|
6138e95d08
|
Minor cleanup of CMakeLists.txt
|
2016-11-23 14:06:58 +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
|
74d7ca0cdb
|
Added Client::request stream content test as suggested in #87
|
2016-11-23 12:24:55 +01:00 |
|
eidheim
|
76bf8942fd
|
Made Client::close thread safe
|
2016-11-23 10:32:53 +01:00 |
|
eidheim
|
0d8052dcb9
|
Simplified Server::parse_request
|
2016-11-23 09:54:22 +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
|
fad2292061
|
Fixed Client<HTTPS> socket creation in cases where the socket has been closed
|
2016-11-23 08:47:44 +01:00 |
|
eidheim
|
7d95360e62
|
Minor timeout source cleanups
|
2016-11-23 07:17:14 +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 |
|
David Olszowka
|
743785b563
|
Fixed crash if server instance gets deleted after the call to io_service->stop() but before the acceptor gets notified of the stop.
|
2016-11-10 10:16:49 +01:00 |
|
eidheim
|
8da3ad4dde
|
Fixes #82: wrong reset method called in ::start
|
2016-11-07 15:24:04 +01:00 |
|
eidheim
|
8e0d3142bf
|
Added fallback to boost::regex if gcc version<4.9. Fixes #77
|
2016-10-25 08:33:02 +02:00 |
|
eidheim
|
88a8b154e5
|
Simplified the default_resource example
|
2016-10-24 15:41:33 +02:00 |
|
eidheim
|
78d68b063b
|
Now uses std::regex instead of boost::regex
|
2016-10-24 14:54:09 +02:00 |
|
eidheim
|
7fb40a1be9
|
Reverted e50f0b597f
|
2016-10-19 10:19:51 +02:00 |
|
eidheim
|
3a4b7143cc
|
Can now use external, or reuse, boost::asio::io_service.
|
2016-10-19 09:53:32 +02:00 |
|
eidheim
|
e50f0b597f
|
Minor cleanup of default_resource example
|
2016-10-19 09:41:58 +02:00 |
|
eidheim
|
d94f6d6d27
|
Slight optimisation: less copies of shared_ptr objects
|
2016-10-19 09:16:02 +02:00 |
|
eidheim
|
1c904b018f
|
Added sh to markdown of compile instructions
|
2016-10-18 17:40:29 +02:00 |
|
eidheim
|
ccb6e4d4f1
|
Updated compile and run instructions
|
2016-10-18 17:38:39 +02:00 |
|
eidheim
|
7120e8aff2
|
Minor typo fix
|
2016-09-07 20:56:23 +02:00 |
|
eidheim
|
4efd3bf83c
|
default_resource examples should now always output errors
|
2016-09-07 20:34:00 +02:00 |
|