Commit graph

559 commits

Author SHA1 Message Date
eidheim
253b18f02b Fixes #280 : added start_stop_mutex that is used in Server::bind() and Server::stop() 2019-08-26 14:13:43 +02:00
eidheim
44b787e27a Removed flag -Wsign-conversion for now due to excessive warnings from boost 2019-08-26 14:11:26 +02:00
Kyle Niemeyer
1bfa70cc01 Update paper.bib 2019-08-26 02:25:19 +00:00
eidheim
3dd3f1d4be Removed boost reference from JOSS paper 2019-08-25 21:56:13 +02:00
David Wedderwille
3c251dfadb create the examples only ( http_examples.cpp / https_examples.cpp ) if the boost library is found. 2019-08-13 13:44:23 +02:00
eidheim
0f8b26ff19 Fixes #276 incorrect abbreviation for december in Date::to_string 2019-08-05 09:18:27 +02:00
eidheim
db24254c96 Updated the websocket paper reference 2019-08-01 10:06:44 +02:00
eidheim
7b6293c067 Made Date::to_string thread safe with other Date::to_string calls 2019-08-01 09:13:08 +02:00
eidheim
0eeb972b51 Extended the usage documentation, and added additional output in the example files, as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-516803423 2019-07-31 22:21:44 +02:00
eidheim
5b6a606f4c Added a benchmark page as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515900507 2019-07-31 22:21:00 +02:00
eidheim
ac7cc6ef01 Optimized Date::to_string for successive calls 2019-07-31 21:38:35 +02:00
eidheim
83788f3885 Added SimpleWeb::Date::to_string to create HTTP date strings 2019-07-31 15:23:50 +02:00
eidheim
3f1591b6fa Now only calls asio::socket::remote_endpoint() when needed 2019-07-31 12:31:24 +02:00
eidheim
8c14611102 Moved the dependency installation instructions to README.md as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515909842 2019-07-30 21:02:47 +02:00
eidheim
8edf4355f2 Updated paper.md based on feedback in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515900507 2019-07-30 20:39:04 +02:00
eidheim
f09a651a6b Server: improved reading remote endpoint in case of errors 2019-07-30 11:33:19 +02:00
eidheim
99d14cf841 Added more detailed dependency installation instructions as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515789575 2019-07-29 10:14:34 +02:00
eidheim
dcc6090678 Added doxygen documentation to GitLab pages as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515643495 2019-07-28 12:04:47 +02:00
eidheim
852281f347 Added Contributing Guidelines 2019-07-26 09:59:29 +02:00
eidheim
ed46b43fa7 Improved comments on public functions and variables as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-514946444 2019-07-26 09:28:20 +02:00
eidheim
5d89bbcd0f Updated paper.md based on feedback in https://github.com/openjournals/joss-reviews/issues/1579#issuecomment-514678457. Also added .markdown-format to autoformat paper.md on save 2019-07-24 21:10:59 +02:00
eidheim
684b9aa62a Added paper for the Journal of Open Source Software 2019-07-18 12:47:04 +02:00
eidheim
9d0fdf2c9a Removed outdated instructions for creating self-signed certificates 2019-07-18 11:18:39 +02:00
eidheim
cd2140464e Removed unused image option 2019-07-15 15:48:14 +02:00
eidheim
95a1eecaf5 Updated gitlab-ci.yml: now run tests on several debian versions and archlinux 2019-07-15 15:39:33 +02:00
eidheim
04fb44f0f8 Updated LICENSE year 2019-07-15 15:25:14 +02:00
eidheim
6185e89e25 Fixes #270 : compilation error when using gcc4.8 2019-07-10 18:02:40 +02:00
eidheim
15145152c0 Merge branch 'openssl_optional' of https://gitlab.com/bibermann/Simple-Web-Server 2019-07-10 17:19:29 +02:00
Fabian Sandoval Saldias
c466ed82d5 Add option to build without OpenSSL 2019-07-10 16:07:57 +02:00
eidheim
66b6be499d Client now supports event streams with \r\n line endings in addition to regular \n 2019-07-10 15:08:24 +02:00
eidheim
7c44f73ec5 Fixes #269 : Replaced ssize_t with std::streamsize 2019-07-03 20:28:58 +02:00
eidheim
e1d1404ff7 Fixes #268 : Added mutex.hpp to cmake's install function 2019-07-03 20:25:13 +02:00
eidheim
fc43fc362d Cleanup of include guards 2019-06-25 11:56:21 +02:00
eidheim
a743915d72 Made use of clang's Thread Safety Analysis 2019-06-25 11:29:36 +02:00
eidheim
39fb720aa9 Minor fix of HeaderEndMatch 2019-06-25 08:50:40 +02:00
eidheim
d9d554b1b5 Client: added support for non-standard line endings in response status and header 2019-06-24 19:48:11 +02:00
eidheim
f1327d3bc3 Renamed HAVE_ASIO to ASIO_PATH 2019-06-24 10:20:32 +02:00
eidheim
b0bd7df473 Cleanup of merge request 239 , and reverted changes where examples are not built when standalone asio is used 2019-06-24 10:17:06 +02:00
eidheim
b06e7cfcd2 Merge https://gitlab.com/davidwed/Simple-Web-Server 2019-06-24 10:07:43 +02:00
eidheim
97983a0ec0 Updated feature section 2019-06-24 08:41:37 +02:00
eidheim
e75f162d8b Server: improved chunked transfer code 2019-06-23 20:28:46 +02:00
eidheim
31e6819b42 Added SimpleWeb::error, and simplified request size checks on server 2019-06-23 20:27:54 +02:00
eidheim
1a56f4810e Resolve g++ compilation error when using standalone asio 2019-06-23 13:05:26 +02:00
eidheim
ec240ab432 Added missing namespace for standalone asio 2019-06-23 12:56:44 +02:00
eidheim
18808121ed Added missing include 2019-06-23 12:46:21 +02:00
eidheim
b1d9476ff1 Client: added support for server-sent events, and improved the chunked transfer code. Also some cleanup of especially the client code, and added a few additional tests. 2019-06-23 12:41:32 +02:00
David Wedderwille
e606f7a4e7 cmake: fixes compile error when "USE_STANDALONE_ASIO" is set.
Signed-off-by: David Wedderwille <davidwe@posteo.de>
2019-06-21 22:08:51 +02:00
eidheim
6097d86cb5 Another fix related to #246 : correctly removed connection from connections list when connection should be closed 2019-06-21 19:27:49 +02:00
eidheim
dbd2287418 Further fix of #246 : corrected use of response streambuf after reconnect (wrong response object was used in Session::callback). Also closes connection when appropriate, and simplified Session::callback. 2019-06-21 19:08:43 +02:00
eidheim
a316310815 Fixes #246 : client's response object is now reset when attempting to resend request on read error 2019-06-21 14:52:17 +02:00