Commit graph

  • c5cfa5b86c Added underscore on constructor parameters that are moved eidheim 2018-07-10 17:29:27 +02:00
  • 69b34bc7c2 Merge branch 'sse' of https://gitlab.com/eidheim/Simple-Web-Server eidheim 2018-07-10 12:46:53 +02:00
  • cc234506b1 Completed support for multiple sequential Server::Response::send operations eidheim 2018-06-03 12:07:02 +02:00
  • 8b75c14aef Fixes #231: added checks to getline calls in parse functions so that they can be used outside the Server/Client classes eidheim 2018-07-04 20:47:47 +02:00
  • 5686165f35 Removed build status from README.md. Using GitLab badge instead. Ole Christian Eidheim 2018-06-16 16:26:02 +00:00
  • d865676a1b Updated juCi++ link Ole Christian Eidheim 2018-06-12 09:24:55 +00:00
  • a99f97996a Updated README.md eidheim 2018-06-09 22:32:45 +02:00
  • b2cde3f02f Migrated to GitLab eidheim 2018-06-09 19:29:33 +02:00
  • 6b91839cb6 Allow calling Response::send multiple times: copy the buffer before async_write Alex Fraser 2018-05-18 15:01:01 +10:00
  • d59b7c234c Optimized string() functions eidheim 2018-06-02 20:21:52 +02:00
  • 5416b2736b Updated license year eidheim 2018-05-27 11:57:39 +02:00
  • f52c8a020b Cleanup of start and its related functions. Also removed unused lambda captures. eidheim 2018-05-04 15:26:20 +02:00
  • 3ba786f585 Splitted the start function into a two in order to access the bound port Thomas Karlsson 2018-04-19 15:36:38 +02:00
  • bd9c1192bb Changed string view related __cplusplus check to > 201402L, and reverted additional travis tests to reduce the CI duration eidheim 2018-03-29 10:45:10 +02:00
  • 7bf465362a simplified ifdef Seth Hamilton 2018-03-26 10:27:23 -04:00
  • 1d7b24e13e removed superflous boost/string_ref include Seth Hamilton 2018-03-01 11:00:38 -05:00
  • 90e5047b41 added two test with C++17 and USE_STANDALONE_ASIO ON/OFF Seth Hamilton 2018-03-01 09:57:34 -05:00
  • 762d1cf644 added two test with C++17 and USE_STANDALONE_ASIO ON/OFF Seth Hamilton 2018-03-01 09:47:44 -05:00
  • b1baa1f3e5 now with more define tests Seth Hamilton 2018-03-01 09:38:22 -05:00
  • f1210436b8 now with more define tests Seth Hamilton 2018-03-01 09:29:36 -05:00
  • 2a361bfda6 c++17 string_view support Seth Hamilton 2018-02-27 09:54:51 -05:00
  • 5324abea8c c++17 string_view support Seth Hamilton 2018-02-27 09:52:27 -05:00
  • 1985c5941d support for C++17 string_view Seth Hamilton 2018-02-26 10:59:59 -05:00
  • 1056bd2e70 Now adds port to host request header field value only if the port is non-default eidheim 2018-02-14 12:47:58 +01:00
  • 760571083c Include Port in Host Sahin Habermann 2018-02-08 00:40:27 +01:00
  • 6381ee1d31 Fixes #146: added comment to server.on_error examples regarding connection timeouts eidheim 2018-01-25 10:24:46 +01:00
  • fb4a17d5ed Fixes #203: header field values are now correctly parsed even with more than 1 space after : eidheim 2018-01-24 13:04:06 +01:00
  • 231e5f0065 Update CMake minimum required version to 3.0 (#191) taivop 2018-01-08 13:41:12 +02:00
  • d0a0ca2941 Resolves #184: further fixes to Percent::encode eidheim 2018-01-03 18:38:39 +01:00
  • bbbf350693 Fixes Percent::encode issue mentioned in #184 eidheim 2018-01-03 18:11:23 +01:00
  • aa030950bb removed unused variable; Addy 2017-12-21 14:49:57 -05:00
  • 1552cdc11a Corrected OpenSSL version check. Related to https://github.com/eidheim/Simple-WebSocket-Server/issues/91 eidheim 2017-12-11 18:41:30 +01:00
  • f307f40ba5 Updated license year eidheim 2017-12-09 10:05:18 +01:00
  • b6261bfc31 Fixes #169: time point when a request header is read is now stored in Server::Request::header_read_time eidheim 2017-11-25 20:40:40 +01:00
  • de23d679c4 Slight optimisation of status_code functions eidheim 2017-11-25 12:10:45 +01:00
  • c126eb76b9 Added chunked transfer tests eidheim 2017-11-19 06:49:55 +01:00
  • 4f67773a25 Client can now send chunked transfer encoded content eidheim 2017-11-18 14:13:05 +01:00
  • 0c8da107a6 Rename ServerBase::read_request_and_content to ServerBase::read, and ServerBase::write_response to ServerBase::write eidheim 2017-11-18 13:56:54 +01:00
  • 101a471ca9 Fixes #173: added server support for chunked transfer encoded requests eidheim 2017-11-18 13:34:28 +01:00
  • aa974d7291 Applied newer clang-format on http(s)_examples eidheim 2017-11-18 09:58:48 +01:00
  • 6d1577ecaa chunked transfer encoding cleanup eidheim 2017-11-18 09:55:24 +01:00
  • 5fc5308a8b Fixes #174: variable length no longer uninitialized eidheim 2017-11-18 07:44:26 +01:00
  • af90d7598f Simplification of Client::read_chunked eidheim 2017-11-16 07:46:23 +01:00
  • c5f8e73277 Merge branch 'master' of https://github.com/eidheim/Simple-Web-Server k1988 2017-11-16 10:40:51 +08:00
  • 345eb11c72 fix lost last chunk when there is two chunks in one read k1988 2017-11-16 10:39:05 +08:00
  • ccce9d1fdf Added Request::remote_endpoint tests to io_test eidheim 2017-11-15 07:40:02 +01:00
  • 5a7c021dab Added MSVC support to cmake files (not tested, but hopefully it works). Some tests are disabled due to lacking MSVC options. eidheim 2017-11-14 19:44:40 +01:00
  • 647a733251 Optimised the status_code-functions eidheim 2017-11-10 08:22:33 +01:00
  • 2860f76139 HttpHeader::FieldValue::SemicolonSeparated renamed to HttpHeader::FieldValue::SemicolonSeparatedAttributes, and cleanup of HttpHeader::FieldValue::SemicolonSeparatedAttributes::parse, attribute values are now also percent-decoded eidheim 2017-11-08 11:30:21 +01:00
  • c173ef5823 Updated TODO comment in crypto.hpp eidheim 2017-11-08 09:56:46 +01:00
  • 54a3d2ef5a Fixes compilation issue on Debian Jessie when option USE_STANDALONE_ASIO is turned on eidheim 2017-11-08 09:47:53 +01:00
  • 702a571451 Fixes compilation issue for Debian Jessie eidheim 2017-11-08 09:40:28 +01:00
  • 61847f3443 Made Request::remote_endpoint public eidheim 2017-11-07 22:17:15 +01:00
  • f55eb4af65 Changed ContentDisposition::parse to HttpHeader::FieldValue::SemicolonSeparated::parse. This function can now also parse Set-Cookie header field values eidheim 2017-11-07 18:47:00 +01:00
  • 29f8cc5669 Further CMakeLists.txt improvements and cleanups eidheim 2017-11-07 13:46:42 +01:00
  • 0d8caeca15 Modernised all CMakeLists.txt files, and made it easier to use Simple-Web-Server as a sub-project eidheim 2017-11-07 11:35:44 +01:00
  • 6e0a1ec9e8 Fixes issue mentioned in #164: remote endpoint address and port was not correctly set. Request::remote_endpoint_address and Request::remote_endpoint_port are now functions instead of variables in order to reduce unnecessary instructions. eidheim 2017-11-05 18:48:21 +01:00
  • b9d4be229f Added a parse_query_string() example vitor-alves 2017-10-28 16:11:56 -02:00
  • 68f047ce8f crypto.hpp: replaced size_t with std::size_t eidheim 2017-10-29 09:40:50 +01:00
  • e9cc73e437 Changed free function SimpleWeb::status_codes() from static to inline eidheim 2017-10-29 09:33:51 +01:00
  • bc4c49134d Removed unnecessary cstddef includes eidheim 2017-09-30 12:08:20 +02:00
  • 99cc6d9ad3 Merge branch 'mini_refactoring' of https://github.com/knowledge4igor/Simple-Web-Server eidheim 2017-09-30 12:06:15 +02:00
  • efac6cd8c4 Client's chunked transfer: no longer moves empty streambuf eidheim 2017-09-27 13:34:22 +02:00
  • 9cf3dd68ab Removed unnecessary: return 0; eidheim 2017-09-26 09:39:20 +02:00
  • 2cfaa0e2a0 Mini refactoring: using std::size_t and std::numeric_limits knowledge4igor 2017-09-25 23:33:31 +03:00
  • 0db33e72e5 Merge branch 'master' of https://github.com/tylawin/Simple-Web-Server eidheim 2017-09-25 10:31:23 +02:00
  • 69f945f686 Fixes #155: added max streambuf config items to limit large requests/responses if needed eidheim 2017-09-07 11:16:01 +02:00
  • cf08fb4cee fix unused variable warning tylawin 2017-09-24 21:51:19 -06:00
  • ec98ebc387 Added status_code_test to .gitignore eidheim 2017-09-08 15:05:15 +02:00
  • 9b3c1a0b89 Applied clang-format to status_code_test.cpp eidheim 2017-09-08 14:58:38 +02:00
  • 6f9b8b7248 Add tests for status codes knowledge4igor 2017-09-06 23:10:31 +03:00
  • 3ab6cd8a39 Change 'typedef' constructions to type aliases knowledge4igor 2017-09-05 01:32:21 +03:00
  • a3d70bbcb5 Fixed HttpHeader::parse signature, and added ContentDisposition::parse eidheim 2017-09-04 15:55:26 +02:00
  • 5e5a4c8c3b Added noexcept to HttpHeader::parse eidheim 2017-09-02 18:49:22 +02:00
  • 9e5f86edcd Added HttpHeader::parse eidheim 2017-09-02 18:44:48 +02:00
  • f7ddeeda82 Completed PR #153: using steady timer instead of deadline timer to remove boost dependency when using standalone asio eidheim 2017-08-29 09:29:23 +02:00
  • 28803d81be Removed dependency of boost::deadline_timer if USE_STANDALONE_ASIO is defined. Breeze Chen 2017-08-29 11:19:52 +08:00
  • 41891d3816 Fixes #152: Added client support for Server Name Indication eidheim 2017-08-22 09:07:54 +02:00
  • cc838b6ec2 Minor utility.hpp cleanup eidheim 2017-08-13 00:07:45 +02:00
  • 50b13c2fd6 Added .usages_clang to .gitignore eidheim 2017-08-12 15:36:11 +02:00
  • 42de0bea13 Client: added try catch when parsing length of chunked content eidheim 2017-08-12 15:34:21 +02:00
  • 64bd58e5da Fixes #149: added and resolved -Wsign-conversion warnings eidheim 2017-08-12 15:28:35 +02:00
  • ea2b0f4a80 Minor comment change to string() functions eidheim 2017-08-01 07:58:19 +02:00
  • dcaad5e9da Minor comment cleanup eidheim 2017-07-26 08:05:02 +02:00
  • 95d44b804d Reverted boost thread removal eidheim 2017-07-24 07:37:33 +02:00
  • 9548404fb4 Added try catch to example synchronous client requests eidheim 2017-07-22 14:02:03 +02:00
  • 7c2f714949 noexcept cleanup eidheim 2017-07-22 13:33:32 +02:00
  • 7dd2d2108a Added noexcept eidheim 2017-07-22 12:50:40 +02:00
  • 3ba494e0ac Minor comment cleanup eidheim 2017-07-21 12:54:17 +02:00
  • e3789b6d4d ScopeRunner::stop now returns if count is already negative eidheim 2017-07-20 18:32:35 +02:00
  • 474fab90f3 Renamed ScopesContinue to ScopeRunner, and some related cleanup eidheim 2017-07-20 17:21:19 +02:00
  • 8f5a644a2a Minor addition to ScopesContinue test eidheim 2017-07-20 11:53:19 +02:00
  • 70e8c3104c Renamed ContinueScopes to ScopesContinue eidheim 2017-07-20 11:31:01 +02:00
  • 06322ab604 Minor cleanup of utility.hpp eidheim 2017-07-20 10:10:46 +02:00
  • 35f835a67b Cancel handlers feature: replaced readers-writer lock with a spinlock implementation eidheim 2017-07-19 13:03:48 +02:00
  • 632bb1ec2f Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists eidheim 2017-07-19 12:54:12 +02:00
  • 02b34e860b Changed include guards in status_code.hpp eidheim 2017-07-19 08:28:55 +02:00
  • e824aba871 Changed include guards in utility.hpp eidheim 2017-07-19 08:10:43 +02:00
  • b89f5635a5 Moved request and response message parsing to utility.hpp eidheim 2017-07-19 08:03:23 +02:00
  • 97dd36c33c Comment cleanup eidheim 2017-07-18 22:04:38 +02:00