Commit graph

163 commits

Author SHA1 Message Date
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
eidheim
99204ec73d content parameter in Client::request is now of type std::iostream 2016-01-06 11:58:11 +01:00
eidheim
faf3c68c4b Fixes #28 2015-12-09 14:44:28 +01:00
Ole Christian Eidheim
25cf95276d Merge pull request #27 from DraconPern/master
fixed vs2012 compile
2015-11-28 11:08:46 +01:00
DraconPern
e37980fefc fixed vs2012 compile 2015-11-27 14:43:38 -06:00
eidheim
aecb04c7ac Added .gitignore. 2015-11-26 14:31:20 +01:00
eidheim
e6a3205e18 Improved Client::parse_response_header, and simplified endpoint code in Server::start. 2015-11-26 14:29:43 +01:00
eidheim
7b5688468a Fixed at least two bugs when receiving non-standard requests. 2015-11-24 20:02:11 +01:00
eidheim
b273602032 Moved io_service.reset before endpoint and acceptor setup. 2015-11-24 10:48:30 +01:00
eidheim
90d854759e Server::start-stop-start should now work given that appropriate delays are set between the operations (at least start and stop). 2015-11-24 10:46:51 +01:00
eidheim
8534eed87d Added Server::Config, fixes #26, making it possible to specify address or turn off reuse_address. 2015-11-22 21:20:36 +01:00
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