eidheim
|
ed46b43fa7
|
Improved comments on public functions and variables as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-514946444
|
2019-07-26 09:28:20 +02:00 |
|
eidheim
|
fc43fc362d
|
Cleanup of include guards
|
2019-06-25 11:56:21 +02:00 |
|
eidheim
|
31e6819b42
|
Added SimpleWeb::error, and simplified request size checks on server
|
2019-06-23 20:27:54 +02:00 |
|
eidheim
|
dbd2287418
|
Further fix of #246 : corrected use of response streambuf after reconnect (wrong response object was used in Session::callback). Also closes connection when appropriate, and simplified Session::callback.
|
2019-06-21 19:08:43 +02:00 |
|
eidheim
|
5087f5d3df
|
Added support for new asio api
|
2019-04-10 11:07:33 +02:00 |
|
eidheim
|
f39f21b56f
|
Minor cleanups
|
2018-07-29 22:27:10 +02:00 |
|
eidheim
|
bc4c49134d
|
Removed unnecessary cstddef includes
|
2017-09-30 12:08:53 +02:00 |
|
knowledge4igor
|
2cfaa0e2a0
|
Mini refactoring: using std::size_t and std::numeric_limits
|
2017-09-25 23:33:31 +03:00 |
|
eidheim
|
69f945f686
|
Fixes #155: added max streambuf config items to limit large requests/responses if needed
|
2017-09-25 09:58:50 +02:00 |
|
knowledge4igor
|
3ab6cd8a39
|
Change 'typedef' constructions to type aliases
|
2017-09-05 01:32:21 +03:00 |
|
eidheim
|
41891d3816
|
Fixes #152: Added client support for Server Name Indication
|
2017-08-22 09:07:54 +02:00 |
|
eidheim
|
7c2f714949
|
noexcept cleanup
|
2017-07-22 13:33:32 +02:00 |
|
eidheim
|
7dd2d2108a
|
Added noexcept
|
2017-07-22 12:50:40 +02:00 |
|
eidheim
|
474fab90f3
|
Renamed ScopesContinue to ScopeRunner, and some related cleanup
|
2017-07-20 17:21:19 +02:00 |
|
eidheim
|
70e8c3104c
|
Renamed ContinueScopes to ScopesContinue
|
2017-07-20 11:31:58 +02:00 |
|
eidheim
|
35f835a67b
|
Cancel handlers feature: replaced readers-writer lock with a spinlock implementation
|
2017-07-20 10:04:05 +02:00 |
|
eidheim
|
b89f5635a5
|
Moved request and response message parsing to utility.hpp
|
2017-07-19 08:03:23 +02:00 |
|
eidheim
|
35ea8a950e
|
Client: now lets socket destructor close itself
|
2017-07-15 10:57:12 +02:00 |
|
eidheim
|
eeaf66cf2c
|
Fixes #142: a new socket is created when a https connection is reconnected, since a second SSL handshake cannot be made on the same socket. Also now removing failed connections from the connections collection.
|
2017-07-15 08:45:06 +02:00 |
|
eidheim
|
d8b8716a17
|
Session and Connection cleanup
|
2017-07-10 10:51:24 +02:00 |
|
eidheim
|
6c2c8d680b
|
No longer stores pointer to Server/Client instance in Session objects. Some other cleanups as well.
|
2017-07-08 22:21:29 +02:00 |
|
eidheim
|
9b5063f422
|
Replaced Server/Client::shared_from_this with asio callback checks if the Server/Client has been destroyed. Also added SharedMutex to utility.hpp.
|
2017-07-07 11:25:06 +02:00 |
|
eidheim
|
68f1e8413a
|
Reverted resource/response function parameter types shared_ptr& to shared_ptr. No real value added here, just more complicated code. Compiler might also optimise the now const lambda captures.
|
2017-07-04 12:04:07 +02:00 |
|
eidheim
|
0662cbdfb7
|
Added timeout to Server::Response::send, and some cleanup
|
2017-07-04 11:21:31 +02:00 |
|
eidheim
|
c934c9aefe
|
Timeout timers and Client's connection close cleanup
|
2017-07-04 08:51:15 +02:00 |
|
eidheim
|
026f47f195
|
ClientBase now derives from and use std::enable_shared_from_this
|
2017-07-03 18:00:24 +02:00 |
|
eidheim
|
1992bbb4b4
|
Preparation for std::enable_shared_from_this: Server- and Client-constructors are no longer public, use ::create instead
|
2017-07-03 15:02:35 +02:00 |
|
eidheim
|
b3a1d48c0a
|
Callback shared_ptr parameters are now shared_ptr&
|
2017-07-03 14:25:48 +02:00 |
|
eidheim
|
e50d2fc63a
|
Added .clang-format file and applied style to source files
|
2017-06-26 15:23:29 +02:00 |
|
eidheim
|
e1aebba344
|
Fixes #114: added support for async client requests. Also includes some cleanup, support for parallel requests, and client reconnect
|
2017-06-17 11:52:13 +02:00 |
|
eidheim
|
f5ba673350
|
Further cleanup of Client
|
2017-06-12 11:52:37 +02:00 |
|
eidheim
|
e2981c340b
|
Cleanup of Client in preparation for async request
|
2017-06-12 10:53:22 +02:00 |
|
eidheim
|
944c7fe370
|
Client::resolver is no longer a member variable
|
2017-06-12 08:32:27 +02:00 |
|
eidheim
|
a0cd7520ba
|
Made Client::create_request_header const, and cleanup of indentations in Client
|
2017-06-12 08:22:40 +02:00 |
|
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
|
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
|
91d01fb8ec
|
Fixes #101: added Config::timeout_connect
|
2017-01-21 10:22:27 +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 |
|
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
|
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
|
9d9a8622d5
|
Added proxy server support to Client. Based on #83
|
2016-11-24 14:07:11 +01:00 |
|
eidheim
|
76bf8942fd
|
Made Client::close thread safe
|
2016-11-23 10:32:53 +01:00 |
|