Commit graph

205 commits

Author SHA1 Message Date
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
eidheim
1a2fe59fa9 Updated post json example in https_examples.cpp as well 2016-09-07 10:01:23 +02:00
eidheim
b44fdc8183 Minor cleanup of post json example 2016-09-07 09:59:04 +02:00
eidheim
8e5ff77421 Merge branch 'patch-1' of https://github.com/Arash-codedev/Simple-Web-Server 2016-09-07 09:30:31 +02:00
eidheim
87508d1ae2 Minor cleanup of exception_handler code 2016-09-07 09:01:01 +02:00
Arash
dd41fb3265 Update http_examples.cpp 2016-09-04 17:57:31 +10:00
Arash
99114fd065 Update http_examples.cpp 2016-09-04 17:56:57 +10:00
Arash
1de7c6b1db Update http_examples.cpp 2016-09-04 17:55:09 +10:00
Arash
c8bbf7e789 Fixing response header
Previously, running 

$.post( "json", JSON.stringify({ firstName: "John", lastName: "Smith", age: 25 }) );

would give an error message in Firefox browser console
syntax error

Now, this error message is not shown.
2016-09-04 10:48:11 +10:00
Jørgen Lien Sellæg
eafca19cb3 feature: move exception handling of read_remote_endpoint_data to calling method 2016-09-03 18:15:57 +02:00
Jørgen Lien Sellæg
d490c3ff4e feature: add exception handler for http server 2016-09-01 17:17:31 +02: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
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
7fbb74b456 Fixes #62, required boost version is now 1.53 2016-08-18 12:36:17 +02:00
Alfredo Luque
7ad8de4abc rename include subdirectory to simple-web-server 2016-08-10 15:56:32 -04:00
alfredo
9124a3edd2 Add install target for headers 2016-08-09 20:41:08 -04:00
eidheim
d6f3d55019 Renamed test folder to tests 2016-08-03 12:15:32 +02:00
eidheim
c33009beb1 Added CI 2016-08-03 11:57:40 +02:00
eidheim
a7c6d6fdb6 Added io_test 2016-08-03 11:32:11 +02:00
Ole Christian Eidheim
d149601bad Updated copyright year in LICENSE 2016-07-01 09:26:44 +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
233fd31982 Updated work example 2016-06-29 12:26:11 +02:00
eidheim
d2185bf28f Updated features in README.md 2016-06-29 10:16:35 +02:00
eidheim
0b397bc697 Added heavy work example 2016-06-29 10:10:34 +02:00
eidheim
3c3359f512 Improvements to default_resource examples 2016-06-29 00:34:58 +02:00
eidheim
8b6915a953 Updated README.md 2016-06-28 23:15:21 +02:00
eidheim
c7284acd8f Fixes to the default_resource examples 2016-06-28 22:52:12 +02:00
eidheim
dc466e7d1d Fixes #46: library is now fully asynchronous 2016-06-28 12:49:12 +02:00
eidheim
1609f80c38 CMakeLists.txt: extra warning flags and added SYSTEM to system includes. See #45 2016-05-03 09:49:50 +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
Ole Christian Eidheim
131cd37328 Examples: fixed crash in default_resource 2016-04-18 15:21:26 +02:00
eidheim
c7f35ade7f Cleanup of the default_resource examples 2016-03-16 11:29:04 +01:00
eidheim
38e2d09a42 Replaced unsafe std::vector and its reserve with std::array in the default_resource examples 2016-03-11 11:22:03 +01:00
eidheim
c072ae7382 Removed a test message I forgot to remove last commit 2016-03-10 16:30:20 +01:00
eidheim
359bad9862 Cleanup of the default_resource check that ensures that the request path is within the given web_root_path 2016-03-10 16:25:12 +01:00
eidheim
931ff3dba2 Cleanup of parse_request and connection close support 2016-03-10 10:09:31 +01:00
eidheim
b841331023 Merge branch 'branch_1' of https://github.com/waga-git/Simple-Web-Server 2016-03-10 09:36:20 +01:00
Ole Christian Eidheim
25e15d9e93 Added link to juCi++ 2016-03-07 09:31:17 +01: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
waga-git
c558a03148 Support Connection: close header 2016-02-20 12:01:26 +09:00
waga-git
076788d417 Support Connection: close header 2016-02-20 11:50:17 +09:00
eidheim
ef7f4692a4 Fixes #33 2016-01-06 12:45:21 +01:00