Commit graph

42 commits

Author SHA1 Message Date
eidheim
e334a86fc2 Minor variable name change in CMakeLists.txt 2018-11-14 09:10:00 +01:00
Antoine Villeret
6c548d517e Replace CHECK_INCLUDE_FILE_CXX() with CMake find_file()
the former doesn't work when cross-compiling
2018-11-13 11:42:50 +01:00
taivop
231e5f0065 Update CMake minimum required version to 3.0 (#191) 2018-01-08 13:41:12 +02:00
eidheim
5a7c021dab Added MSVC support to cmake files (not tested, but hopefully it works). Some tests are disabled due to lacking MSVC options. 2017-11-14 19:44:40 +01:00
eidheim
54a3d2ef5a Fixes compilation issue on Debian Jessie when option USE_STANDALONE_ASIO is turned on 2017-11-08 09:47:53 +01:00
eidheim
29f8cc5669 Further CMakeLists.txt improvements and cleanups 2017-11-07 18:26:40 +01:00
eidheim
0d8caeca15 Modernised all CMakeLists.txt files, and made it easier to use Simple-Web-Server as a sub-project 2017-11-07 11:45:17 +01:00
eidheim
64bd58e5da Fixes #149: added and resolved -Wsign-conversion warnings 2017-08-12 15:36:28 +02:00
eidheim
95d44b804d Reverted boost thread removal 2017-07-24 07:37:33 +02:00
eidheim
632bb1ec2f Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists 2017-07-19 12:56:17 +02:00
eidheim
3ee9f8dc52 Added all header files to cmake install target. Also added -O3 to one test on travis 2017-06-26 11:50:21 +02:00
eidheim
ba4eec7ebe Created Utility.hpp and moved some code into this file. Also improved parse_query_string. 2017-06-22 12:08:56 +02:00
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
eidheim
6138e95d08 Minor cleanup of CMakeLists.txt 2016-11-23 14:06:58 +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
78d68b063b Now uses std::regex instead of boost::regex 2016-10-24 14:54:09 +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
0b397bc697 Added heavy work example 2016-06-29 10:10:34 +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
5cca84ee6c Corrected OpenSSL_FOUND to OPENSSL_FOUND. 2015-11-15 21:30:05 +01:00
eidheim
b6080f0a1e A few minor changes to #22. 2015-10-24 16:58:18 +02:00
Øyvind Saltvik
79234c6c6b no static linking 2015-10-15 16:16:26 +02:00
Øyvind Saltvik
7960973793 only build https if openssl found, test msvc14 compiler 2015-10-15 15:00:39 +02:00
Øyvind Saltvik
ec55495562 support visual studio 2015 2015-10-11 16:08:30 +02:00
U-ole-PC\ole
9a708dc7a0 Now supports MSYS2, and parse_test compile with g++-5.2. 2015-09-29 15:19:59 +02:00
Ole Christian Eidheim
d3e0c80e18 Should now compile with g++ 4.8 2015-09-29 14:24:41 +02:00
David Björkevik
57cc062223 Use boost regex instead of std, because of buggy glibc++ in RHEL7 2015-09-28 16:59:03 +02:00
eidheim
e78b321914 Added OPENSSL_ROOT_DIR for OS X. 2015-09-04 18:04:23 +02:00
eidheim
fa1efed7f0 Now closes file if connection is interrupted in default_resource example. Also some minor cleanup. 2015-09-02 21:02:06 +02:00
eidheim
dc944ce2fb Now using boost::filesystem in the default_resource examples. 2015-06-27 13:04:35 +02:00
eidheim
9fa5fac4cb Added include_directories(.) in CMakeLists.txt. 2015-05-18 12:50:09 +02:00
eidheim
3042ee4a31 Added parse test for server and client. 2015-05-16 09:55:41 +02:00
Ole Christian Eidheim
764bef9cad Boost 1.54 should work 2015-02-25 16:42:50 +01:00
Craig Minihan
6229c14b79 Require Boost version 1.55 or later 2015-02-25 12:13:23 +00: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
07d43c7311 Made read_json thread-safe. 2015-01-10 09:56:35 +01:00
eidheim
af3f846b2b Added CMakeLists.txt. I'm not a cmake-expert, feedback would be much appreciated. 2014-11-28 21:49:59 +01:00