Commit graph

26 commits

Author SHA1 Message Date
eidheim
80ab651fca Removed deprecated functions 2017-07-03 14:31:22 +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
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
ec5eda1521 Minor SocketServer<WSS> constructor cleanup 2016-12-30 10:44:10 +01:00
eidheim
6c3a59d9ba Cleanup of server-constructors. Previous constructors have been marked as deprecated. 2016-12-29 09:53:58 +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
8a73cb381a Fixes #86: can now set timeout on client requests 2016-11-23 07:01:48 +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
3a4b7143cc Can now use external, or reuse, boost::asio::io_service. 2016-10-19 09:53:32 +02:00
Michael Behrns-Miller [bitpost-gentoo]
9701a4504b only use tlsv12, nothing older 2016-08-21 07:42:58 -04: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
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
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
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
8bc7d3e623 Some bugfixes and cleanup. Added client 2014-08-11 10:03:27 +02:00
eidheim
2bf96a0e83 minor cleanup 2014-08-07 08:30:52 +02:00
eidheim
cdf7114f2d Added possibility of no timeout (=0) 2014-08-05 17:22:55 +02:00
eidheim
b1a91fb923 Added timeouts 2014-08-04 23:12:23 +02:00
eidheim
7a7956b700 removed 'using namespace' from .hpp-files 2014-07-14 13:27:06 +02:00
eidheim
f018ce81ff minor changes 2014-07-13 01:13:05 +02:00
Ole Christian Eidheim
625de45065 Update server_https.hpp 2014-07-13 01:10:05 +02:00
eidheim
401b9bbc69 added HTTPS support 2014-07-12 21:19:03 +02:00