Commit graph

  • 3c2b8c7e53 Removed extra newline in README eidheim 2019-11-01 13:37:35 +01:00
  • bff663c407 README: update cmake commands NeroBurner 2019-10-23 20:36:11 +00:00
  • df8fdb277b fixes compile error with MinGW. David Wedderwille 2019-09-30 14:19:23 +02:00
  • 08a07644ad Removed unnecessary check eidheim 2019-09-17 11:35:38 +02:00
  • a1d8282918 Deprecated Request::remote_endpoint_address() and Request::remote_endpoint_port() eidheim 2019-09-17 10:52:40 +02:00
  • da7eee64a8 Fixes #282 : compilation error in MSVC eidheim 2019-09-16 09:50:59 +02:00
  • fa38408853 Fixes #283 : Added Server::Request::remote_endpoint() eidheim 2019-09-15 18:46:51 +02:00
  • b914172056 Fixes #282 : use thread-safe variants of gmtime eidheim 2019-09-14 14:23:46 +02:00
  • 253b18f02b Fixes #280 : added start_stop_mutex that is used in Server::bind() and Server::stop() eidheim 2019-08-26 14:13:43 +02:00
  • 44b787e27a Removed flag -Wsign-conversion for now due to excessive warnings from boost eidheim 2019-08-26 14:11:26 +02:00
  • 1bfa70cc01 Update paper.bib Kyle Niemeyer 2019-08-26 02:25:19 +00:00
  • 3dd3f1d4be Removed boost reference from JOSS paper eidheim 2019-08-25 21:56:13 +02:00
  • 3c251dfadb create the examples only ( http_examples.cpp / https_examples.cpp ) if the boost library is found. David Wedderwille 2019-08-13 13:44:23 +02:00
  • 0f8b26ff19 Fixes #276 incorrect abbreviation for december in Date::to_string eidheim 2019-08-05 09:18:27 +02:00
  • db24254c96 Updated the websocket paper reference eidheim 2019-08-01 10:06:44 +02:00
  • 7b6293c067 Made Date::to_string thread safe with other Date::to_string calls eidheim 2019-08-01 09:13:08 +02:00
  • 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 eidheim 2019-07-31 22:20:38 +02:00
  • 5b6a606f4c Added a benchmark page as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515900507 eidheim 2019-07-31 19:39:32 +02:00
  • ac7cc6ef01 Optimized Date::to_string for successive calls eidheim 2019-07-31 21:38:35 +02:00
  • 83788f3885 Added SimpleWeb::Date::to_string to create HTTP date strings eidheim 2019-07-31 15:23:50 +02:00
  • 3f1591b6fa Now only calls asio::socket::remote_endpoint() when needed eidheim 2019-07-31 12:31:24 +02:00
  • 8c14611102 Moved the dependency installation instructions to README.md as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515909842 eidheim 2019-07-30 21:02:47 +02:00
  • 8edf4355f2 Updated paper.md based on feedback in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515900507 eidheim 2019-07-30 20:39:04 +02:00
  • f09a651a6b Server: improved reading remote endpoint in case of errors eidheim 2019-07-30 09:56:47 +02:00
  • 99d14cf841 Added more detailed dependency installation instructions as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515789575 eidheim 2019-07-29 09:56:43 +02:00
  • dcc6090678 Added doxygen documentation to GitLab pages as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-515643495 eidheim 2019-07-28 11:25:44 +02:00
  • 852281f347 Added Contributing Guidelines eidheim 2019-07-26 09:55:18 +02:00
  • ed46b43fa7 Improved comments on public functions and variables as suggested in https://github.com/openjournals/joss-reviews/issues/1592#issuecomment-514946444 eidheim 2019-07-26 09:28:20 +02:00
  • 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 eidheim 2019-07-24 21:10:59 +02:00
  • 684b9aa62a Added paper for the Journal of Open Source Software eidheim 2019-07-18 12:47:04 +02:00
  • 9d0fdf2c9a Removed outdated instructions for creating self-signed certificates eidheim 2019-07-18 11:18:39 +02:00
  • cd2140464e Removed unused image option eidheim 2019-07-15 15:48:14 +02:00
  • 95a1eecaf5 Updated gitlab-ci.yml: now run tests on several debian versions and archlinux eidheim 2019-07-15 15:35:18 +02:00
  • 04fb44f0f8 Updated LICENSE year eidheim 2019-07-15 15:25:14 +02:00
  • 6185e89e25 Fixes #270 : compilation error when using gcc4.8 eidheim 2019-07-10 18:02:40 +02:00
  • 15145152c0 Merge branch 'openssl_optional' of https://gitlab.com/bibermann/Simple-Web-Server eidheim 2019-07-10 17:19:29 +02:00
  • c466ed82d5 Add option to build without OpenSSL Fabian Sandoval Saldias 2019-07-09 15:26:46 +02:00
  • 66b6be499d Client now supports event streams with \r\n line endings in addition to regular \n eidheim 2019-07-10 15:08:06 +02:00
  • 7c44f73ec5 Fixes #269 : Replaced ssize_t with std::streamsize eidheim 2019-07-03 20:28:58 +02:00
  • e1d1404ff7 Fixes #268 : Added mutex.hpp to cmake's install function eidheim 2019-07-03 20:25:13 +02:00
  • fc43fc362d Cleanup of include guards eidheim 2019-06-25 11:56:21 +02:00
  • a743915d72 Made use of clang's Thread Safety Analysis eidheim 2019-06-25 11:29:36 +02:00
  • 39fb720aa9 Minor fix of HeaderEndMatch eidheim 2019-06-25 08:50:40 +02:00
  • d9d554b1b5 Client: added support for non-standard line endings in response status and header eidheim 2019-06-24 19:47:33 +02:00
  • f1327d3bc3 Renamed HAVE_ASIO to ASIO_PATH eidheim 2019-06-24 10:20:32 +02:00
  • b0bd7df473 Cleanup of merge request 239 , and reverted changes where examples are not built when standalone asio is used eidheim 2019-06-24 10:15:38 +02:00
  • b06e7cfcd2 Merge https://gitlab.com/davidwed/Simple-Web-Server eidheim 2019-06-24 10:07:43 +02:00
  • 97983a0ec0 Updated feature section eidheim 2019-06-24 08:41:37 +02:00
  • e75f162d8b Server: improved chunked transfer code eidheim 2019-06-23 20:28:46 +02:00
  • 31e6819b42 Added SimpleWeb::error, and simplified request size checks on server eidheim 2019-06-23 20:18:28 +02:00
  • 1a56f4810e Resolve g++ compilation error when using standalone asio eidheim 2019-06-23 13:05:26 +02:00
  • ec240ab432 Added missing namespace for standalone asio eidheim 2019-06-23 12:56:44 +02:00
  • 18808121ed Added missing include eidheim 2019-06-23 12:46:21 +02:00
  • 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. eidheim 2019-06-23 12:41:32 +02:00
  • e606f7a4e7 cmake: fixes compile error when "USE_STANDALONE_ASIO" is set. David Wedderwille 2019-06-21 22:08:51 +02:00
  • 6097d86cb5 Another fix related to #246 : correctly removed connection from connections list when connection should be closed eidheim 2019-06-21 19:27:49 +02:00
  • 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. eidheim 2019-06-21 19:08:43 +02:00
  • a316310815 Fixes #246 : client's response object is now reset when attempting to resend request on read error eidheim 2019-06-21 14:52:17 +02:00
  • c2a10cc72a Fixed indentation in last commit eidheim 2019-06-19 14:57:01 +02:00
  • a73ce8b148 add asio_compatibility.hpp to the destination directory David Wedderwille 2019-06-19 12:07:43 +00:00
  • 45d39e3c18 Merge branch 'new_asio' of https://gitlab.com/eidheim/Simple-Web-Server eidheim 2019-06-14 20:14:56 +02:00
  • 1f699fc304 Related to #246 : added test where multiple clients sends posts concurrently to a server eidheim 2019-06-13 19:37:43 +02:00
  • 3fcf628657 Minor cleanup in send_from_queue eidheim 2019-06-03 12:12:33 +02:00
  • 045d4fce8d Remove SimpleWeb::post and added std::forward to SimpleWeb::get_socket_executor eidheim 2019-06-03 10:17:38 +02:00
  • 9ca86827d9 Unlocks send_queue_lock before calling callbacks in case send_from_queue is invoked in callbacks eidheim 2019-05-28 13:07:20 +02:00
  • 514a135e0c Improved set_timeout(): no longer keeps connection alive longer than necessary. eidheim 2019-05-27 21:13:28 +02:00
  • 1b5f062678 New asio: removed use of strand, and fixed steady_timer constructor call eidheim 2019-05-22 11:50:18 +00:00
  • 44c2f733dc New asio api: removed unnecessary SimpleWeb::timer_expires_after eidheim 2019-05-20 18:39:54 +02:00
  • d6985ed62e Fixes #261: SimpleWeb::status_code(const std::string &) now only regards the status code number when searching for status code enum, and can also return undefined enums that can be cast to an integer value eidheim 2019-04-29 13:22:57 +02:00
  • 5087f5d3df Added support for new asio api eidheim 2019-04-09 22:38:50 +02:00
  • ded57636dd Further improvements to the ASSERT-macro: replaced fprintf with std::cerr and added std::-prefix to abort eidheim 2019-03-28 10:56:16 +01:00
  • e716cd9764 Improved ASSERT macro, and renamed tests/check.hpp to tests/assert.hpp eidheim 2019-03-23 13:46:31 +01:00
  • 7282a342b9 Merge branch 'tests_in_release' of https://gitlab.com/AndreyNautilus/Simple-Web-Server eidheim 2019-03-23 12:16:38 +01:00
  • c14705c62b Replaced unique_lock with lock_guard where possible eidheim 2019-03-08 12:54:56 +01:00
  • e9877639b2 Fixes #255: Made regex_orderable::str public eidheim 2019-03-05 10:00:38 +01:00
  • 02d1c9c198 Merge branch 'use_name_and_command_tags_in_add_test_function' of https://gitlab.com/AndreyNautilus/Simple-Web-Server eidheim 2019-02-14 19:38:15 +01:00
  • 5db5031558 done Andrey Potapov 2019-02-13 16:29:27 +01:00
  • e70a3c40a3 make SimpleWeb::Server::Request methods const Frachop 2019-02-12 23:54:36 +01:00
  • 4f66df49a0 use NAME and COMMAND tags in add_test function Andrey Potapov 2019-02-08 15:30:42 +00:00
  • 5e8b99c02a Server now accepts IPv6 connections when Config::address is empty eidheim 2019-01-10 13:12:26 +01:00
  • b7e5a37da4 Removed possibly unnecessary is_tcp_fast_open_supported-function eidheim 2019-01-10 12:57:38 +01:00
  • 0eb6269c70 Linux server-side TFO: Clean-up upon code review gavin.smith@coralbay.tv 2019-01-03 22:06:59 +00:00
  • 4d7f3729c3 Fixed compiler error. gavin.smith@coralbay.tv 2018-12-30 00:40:42 +00:00
  • 4328286e32 Fixed compiler error. gavin.smith@coralbay.tv 2018-12-30 00:33:32 +00:00
  • 7d43617993 Added support for TCP Fast Open in server when using Linux. gavin.smith@coralbay.tv 2018-12-30 00:25:11 +00:00
  • 1654b3cd42 Merge branch 'patch-1' into 'master' Ole Christian Eidheim 2018-11-30 09:11:38 +00:00
  • 22a2b64a0e Update README.md, add links for examples NeroBurner 2018-11-29 21:33:02 +00:00
  • e334a86fc2 Minor variable name change in CMakeLists.txt eidheim 2018-11-14 09:10:00 +01:00
  • 3b2c84a9bc Merge branch 'fix_crosscompiling' into 'master' Ole Christian Eidheim 2018-11-14 08:07:43 +00:00
  • 6c548d517e Replace CHECK_INCLUDE_FILE_CXX() with CMake find_file() Antoine Villeret 2018-11-13 11:42:50 +01:00
  • 0dccc11544 Merge branch 'master' into 'master' Ole Christian Eidheim 2018-10-23 05:42:47 +00:00
  • 4c2fac8c1e fixed compiling on never msvc with older language version (c++11/14) daMaex 2018-10-19 13:11:10 +02:00
  • cfe98038ba Removed use of asio::socket::close due to segmentation fault when Config::thread_pool_size was larger than 1. See #239. eidheim 2018-09-21 09:24:19 +02:00
  • 0f8f1f515b Related to #150: added LIBRESSL_VERSION_NUMBER check to BIO_new_mem_buf in order to support libressl eidheim 2018-08-26 22:30:28 +02:00
  • b8de3ae504 Removed unnecessary check eidheim 2018-08-01 09:24:12 +02:00
  • f39f21b56f Minor cleanups eidheim 2018-07-29 22:27:10 +02:00
  • 1ae9f69b1f Added missing include eidheim 2018-07-23 21:35:16 +02:00
  • 56b1df1ee5 Moved SimpleWeb::string_view to utility.hpp, and made use of string_view in Server::Response::write eidheim 2018-07-12 08:43:07 +02:00
  • 0ae69bffb1 All handlers in send queue is now called on error eidheim 2018-07-11 08:41:33 +02:00
  • ebe170b4b3 Minor parameter rename, added underscore at end due to move eidheim 2018-07-10 17:42:48 +02:00