Commit graph

63 commits

Author SHA1 Message Date
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
fad2292061 Fixed Client<HTTPS> socket creation in cases where the socket has been closed 2016-11-23 08:47:44 +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
ffac7545cf Fixes #66, added boost::asio::ssl::context::set_default_verify_paths when verify_certificate is set to true in Client<HTTPS> constructor 2016-08-24 09:26:38 +02:00
eidheim
e18fcb4ceb Force tlsv12 in Client<HTTPS> 2016-08-22 14:07:16 +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
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
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
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
bfa0946ff9 forgot client-files 2014-08-11 10:06:46 +02:00