Commit graph

145 commits

Author SHA1 Message Date
eidheim
880067f7c2 Renamed HttpServer:: to Server:: in README.md. 2015-11-20 10:00:02 +01:00
eidheim
c7244c099e Minor fixes. 2015-11-20 09:57:54 +01:00
eidheim
4adf2e040a Removed io_service from Server::Response since it is no longer needed. Fixes #25. 2015-11-18 08:23:44 +01: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
eidheim
2181a172e8 Merge branch 'fivethreeo-master' 2015-10-24 16:44:28 +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
Ole Christian Eidheim
7be882437b Removed need of C++11 regex for the time being 2015-09-29 14:23:40 +02:00
Ole Christian Eidheim
c14abc1508 Slightly improved dependency section 2015-09-29 14:21:18 +02:00
Ole Christian Eidheim
e819991caa Less confusing dependency section 2015-09-29 14:18:22 +02:00
Ole Christian Eidheim
41ff4a5988 Merge pull request #18 from bjorkegeek/master
Use boost regex instead of std, because of buggy glibc++ in RHEL7
2015-09-29 14:16:13 +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
Ole Christian Eidheim
73961f419f Update https_examples.cpp 2015-09-21 14:51:49 +02:00
Ole Christian Eidheim
9f1718651e Simpler README 2015-09-21 11:30:28 +02:00
eidheim
7951ded3ec Slight cleanup and added convenience function to retrieve Request::content string. 2015-09-19 13:01:40 +02:00
eidheim
c58b7a788e Response stream now subclass std::ostream. Also some cleanup of default_resource example. 2015-09-06 17:59:02 +02:00
eidheim
4bc50785ac Moved boost::asio::strand yet again. 2015-09-04 18:49:26 +02:00
eidheim
c6806e6fde Minor change in examples. 2015-09-04 18:09:51 +02:00
eidheim
e78b321914 Added OPENSSL_ROOT_DIR for OS X. 2015-09-04 18:04:23 +02:00
eidheim
e6e52f0c46 Added size_t Response::size(). 2015-09-04 18:02:33 +02:00
eidheim
9e6b01eed1 Moved strand to ServerBase. 2015-09-04 18:01:16 +02:00
eidheim
c9f8a59a4d Fixes #15, file opened are now opened as binary. 2015-09-03 08:37:35 +02:00
eidheim
3b85cd0c54 Fixes #14. Now does not copy pointers in the stream to be sent to client. 2015-09-03 08:15:27 +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
1a39476f92 Removed async_flush and its likely erroneous code. 2015-09-02 19:55:20 +02:00
eidheim
0ddc469edd Minor fix. 2015-08-03 21:37:44 +02:00
eidheim
8567c9f867 Minor fix. 2015-08-03 21:19:37 +02:00
eidheim
d74505ed86 Fixed crash on server when Content-Length parameter was set to a non-number. 2015-08-03 21:15:26 +02:00
Christophe Meessen
739da9c1e6 remove ; after Server<HTTP> constructor 2015-06-27 13:12:59 +02:00
eidheim
dc944ce2fb Now using boost::filesystem in the default_resource examples. 2015-06-27 13:04:35 +02:00
Christophe Meessen
2177e330b7 Changed Request::remote_endpoint_address to std::string. Modified parse_request too keep case of header parameters. 2015-06-27 11:30:20 +02:00
eidheim
5f34b5db5e Added Request::remote_endpoint_address and Request::remote_endpoint_port that are read when Request is created. 2015-06-27 10:43:17 +02:00
Christophe Meessen
247639b1e0 /info now displays remote host and port 2015-06-27 10:35:50 +02:00
Christophe Meessen
bc7e5da304 comment unused parameter 2015-06-27 10:12:17 +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
419c3f0233 Merge pull request #7 from TechPriest/master
Fixed MSVC build of HTTP server.
2015-05-15 10:18:34 +02:00
TechPriest
96f3e0c766 Fixed MSVC build of HTTP server. 2015-05-06 11:48:35 +03:00
Ole Christian Eidheim
764bef9cad Boost 1.54 should work 2015-02-25 16:42:50 +01:00
Ole Christian Eidheim
ed4d8a9433 Merge pull request #5 from craigminihan/patch-1
Require Boost version 1.55 or later
2015-02-25 15:17:06 +01:00
Craig Minihan
6229c14b79 Require Boost version 1.55 or later 2015-02-25 12:13:23 +00:00
eidheim
d59a789881 default_resource: added direct write to response stream. 2015-02-23 10:03:18 +01:00
eidheim
6c85e3b739 Minor fix 2015-02-23 09:49:32 +01:00
eidheim
0acc7455f8 Faster default_resource for files smaller than buffer_size. 2015-02-23 09:46:29 +01:00
eidheim
525eb2983b Slightly faster resource lookup. 2015-02-22 15:26:30 +01:00
Ole Christian Eidheim
8818a4c8e0 Update README.md 2015-02-22 15:08:46 +01:00