Commit graph

  • 99c1f621eb Add connection_shared() public accessor for SSL peer cert resolution parsec-features Joey Yakimowich-Payne 2026-02-11 14:38:32 -07:00
  • 546895a93a
    build(cmake): fix for boost 1.89 ReenigneArcher 2025-09-13 11:32:38 -04:00
  • 187f798d54 Merge branch 'add_const_member_functions' into 'master' Ole Christian Eidheim 2025-04-03 09:57:54 +00:00
  • 26215025c8 Fixed deprecated calls eidheim 2025-04-03 10:58:13 +02:00
  • 2469d730b1 Made some member functions const where appropriate. Gavin Smith 2025-04-03 00:17:26 +01:00
  • 4abe349158 Slight improvement of !276 eidheim 2024-02-06 13:51:20 +01:00
  • 54eca45e5d Fix pipelined requests handling brodo 2023-09-01 11:13:39 +02:00
  • 27b41f5ee1 Added -Wsign-conversion eidheim 2023-04-25 13:03:22 +02:00
  • 00b1416185 Merge branch 'better-gitignore' of https://gitlab.com/stertingen/Simple-Web-Server eidheim 2023-04-25 12:18:32 +02:00
  • ed10d29c3e Merge branch 'better-find-asio' of https://gitlab.com/stertingen/Simple-Web-Server eidheim 2023-04-25 12:15:02 +02:00
  • 7c4f63cdad Corrected ASIO_STANDALONE definition checks eidheim 2023-04-25 09:35:39 +02:00
  • b6783d40be CMake: find_package(asio) if available Hermann von Kleist 2023-03-31 17:18:48 +02:00
  • 4b77a68f47 Add build and .cache to .gitignore Hermann von Kleist 2023-04-03 13:38:13 +02:00
  • 84170850f3 Resolved conflicts eidheim 2023-04-04 12:50:54 +02:00
  • 5b729e982e Merge branch 'remove-target-link-options' of https://gitlab.com/stertingen/Simple-Web-Server eidheim 2023-04-04 12:17:31 +02:00
  • 8d9926c6c9 Merge branch 'refactor-boot-linking' of https://gitlab.com/stertingen/Simple-Web-Server eidheim 2023-04-04 12:13:56 +02:00
  • cde35e2abf Set CXX_STANDARD property for declared targets Hermann von Kleist 2023-03-31 17:03:23 +02:00
  • ff101fe41e Remove use of target_link_options which was introduced in CMake 3.13 Hermann von Kleist 2023-03-31 16:37:55 +02:00
  • 17c1a8b65f Only link Boost libraries which are actually needed. Hermann von Kleist 2023-03-31 11:19:51 +02:00
  • ee1a69ba4a Use system includes for asio and if used as subdirectory Hermann von Kleist 2023-03-31 11:08:36 +02:00
  • fff70e5231 Use OpenSSL::* CMake targets Hermann von Kleist 2023-03-09 10:48:11 +01:00
  • a8b7dab938 Use Boost::* CMake targets Hermann von Kleist 2023-03-09 10:48:06 +01:00
  • 0ec5a11473 Use CMake target Threads::Threads Hermann von Kleist 2023-03-09 10:48:02 +01:00
  • 244cfc4271 Require CMake 3.7 Hermann von Kleist 2023-03-09 10:47:53 +01:00
  • 2f29926dbb Fix build with Asio 1.13-1.17 Cameron Gutman 2022-11-27 20:22:00 -06:00
  • 9662d87fbf asio already aliased for boost::asio Greg Glover 2022-11-16 22:58:43 -06:00
  • 850fe70873 Changed callbacks type from std::vector with std::list in send_from_queue() eidheim 2022-11-10 18:14:30 +01:00
  • 3e87ac5faf Renmaed read_write_strand to write_strand eidheim 2022-11-09 13:31:58 +01:00
  • eca0e1d622 Wrapped async_write calls in a strand since these calls might not be safe to call outside of the context runners if tls is used eidheim 2022-11-09 10:51:14 +01:00
  • f28b183f0a Fixed ci for doxygen pages eidheim 2022-10-06 13:12:51 +02:00
  • cf85457894 Merge https://gitlab.com/CosmicPegasis/Simple-Web-Server eidheim 2022-10-06 13:08:32 +02:00
  • edf99c6426 Fixed OPENSSL_ROOT_DIR for MacOS m1 and m2 setups eidheim 2022-09-30 11:59:55 +02:00
  • 5f7ed3d984 Fix Doxygen output Aviral Singh 2022-09-27 15:49:42 +05:30
  • 09303d5b94 Updated the write_header method to not write Content-Length: 0 for SSE resppnses. There was a possible work-around - add the Transfer-Encoding: "chunked" header - but this is not correct as SSE and chunked are two different things. Andrei Gheorghe 2022-09-19 14:57:28 +00:00
  • 6aafa6a90a Added missing header in crypto.hpp eidheim 2022-09-05 14:57:19 +02:00
  • 632ee8d88c Changed http to https output in https_examples.cpp eidheim 2022-08-16 11:02:09 +02:00
  • 88569844ea Improved SSL_R_SHORT_READ check eidheim 2022-08-16 10:58:59 +02:00
  • adbdc6fcda Ignore SSL_R_SHORT_READ woe 2022-06-16 14:41:04 +02:00
  • c52ebc2e60 Renamed DEPRECATED to SW_DEPRECATED to avoid name conflicts eidheim 2022-05-31 15:12:14 +02:00
  • 8598036b73 Updated crypto.hpp: deprecated functions replaced eidheim 2022-05-31 15:09:54 +02:00
  • bdb105712b Set a timeout for https async_resolve Hungpo DU 2022-02-18 12:25:25 +08:00
  • 0087f7082e Don't access this before alive check Vitalii Trubchaninov 2021-11-09 01:57:06 -05:00
  • 8c8045a696 Client: enables TLS 1.3 eidheim 2021-04-13 14:38:01 +02:00
  • 60a332e124 Reverted context::tls_server to context::ssl23_server change, and fixed stretch CI eidheim 2021-04-13 14:24:08 +02:00
  • 972ef8ebf9 Merge https://gitlab.com/Eswcvlad/Simple-Web-Server eidheim 2021-04-13 14:19:40 +02:00
  • c97be4caab Added another client parse host_port test eidheim 2021-04-09 19:34:26 +02:00
  • bab4b309ca Client: added parsing of host specified with IPv6 address eidheim 2021-04-09 14:33:43 +02:00
  • d60136d6b2 Replaces context::tls_server with context::ssl23_server to support older boost versions. Vlad Lipskiy 2021-04-09 12:31:28 +03:00
  • c896342127 Removed Debian jessie from CI eidheim 2021-04-09 09:19:18 +02:00
  • 13ab200372 Enables TLS 1.3 support in server_https. Vlad Lipskiy 2021-04-02 18:01:44 +03:00
  • 1bb89e1e8e Fixes #317: Make use of ASIO_STANDALONE when using standalone asio in order to compile on older asio versions without boost eidheim 2021-03-26 10:02:04 +01:00
  • cc0dc20947 Corrected documentation of Server<HTTPS> constructor eidheim 2021-02-17 08:59:25 +01:00
  • d6b057a673 Corrected test names in .gitignore eidheim 2020-11-29 18:25:13 +01:00
  • dd6094b91c Minor style format correction eidheim 2020-10-26 14:28:28 +01:00
  • 898b6abd1b add prefix to common test names Jørgen Sverre Lien Sellæg 2020-10-09 15:17:15 +02:00
  • 190e3498c3 Fixes #305: no longer forces on BUILD_TESTING eidheim 2020-09-22 16:41:47 +02:00
  • 14c0e3a3a3 Applied style format eidheim 2020-09-16 14:53:02 +02:00
  • a0cc9e81c7 Minor cleanup of QueryString::parse eidheim 2020-08-31 13:12:21 +02:00
  • 987e8358f9 Allow "?" in URL body woe 2020-08-27 15:10:06 +02:00
  • 8a877027a1 Handle "=" in URL query parameters (i.e. site.com?compare=1=2& woe 2020-08-27 15:08:55 +02:00
  • 5d65a5d89b Fixes another compilation issue: make_steady_timer now returns std::unique_ptr eidheim 2020-08-26 11:43:28 +02:00
  • ec27950d68 Fixed compilation issue: also added make_steady_timer for older (boost.)asio versions eidheim 2020-08-26 11:37:09 +02:00
  • 4c57860d7e Fixed compilation issue with standalone Asio: https://gitlab.com/eidheim/Simple-WebSocket-Server/-/issues/151 eidheim 2020-08-26 11:18:12 +02:00
  • f6df4cde4e Made use of libfuzzer eidheim 2020-08-08 10:52:11 +02:00
  • 8e82428740 expose local endpoint Michael Maroszek 2020-07-28 11:36:54 +02:00
  • 4ec478883e Applied style format eidheim 2020-06-28 08:22:49 +02:00
  • 7b06f736b2 Merge branch 'ipv4_fallback' of https://gitlab.com/quobert/Simple-Web-Server eidheim 2020-06-28 08:13:59 +02:00
  • 8ee71cddbb Fixes #301: Do not run add_compile_options when Simple-Web-Server is a sub-project eidheim 2020-06-26 18:51:22 +02:00
  • 69d6a42089 Fall back to IPv4 if IPv6 is not supported Robert Doebbelin 2020-06-26 15:28:22 +02:00
  • eff3b76aa5 Related to #298: fixed chunk transfer read when only end of chunk remains unread eidheim 2020-05-13 13:32:59 +02:00
  • 9cdfe80ce6 Corrected boost::asio::streambuf to asio::streambuf eidheim 2020-05-13 10:38:03 +02:00
  • a20a729a40 Fixes #298: corrected removal of chunk end when receiving larger chunks eidheim 2020-05-13 10:28:27 +02:00
  • d49072a4f1 Fixes #298: corrected chunked transfer read where first bytes in a chunk could be erroneously removed eidheim 2020-05-12 15:54:56 +02:00
  • 409054e812 Fixes #296: corrected client response parsing when response contained header field Connection: close eidheim 2020-04-18 13:07:44 +02:00
  • 61990c2aee Fixes #295: set default client port when unable to parse port string eidheim 2020-04-17 13:36:57 +02:00
  • ebeafc989e Fixes #293: added workaround for MSVC max bug eidheim 2020-04-03 11:10:40 +02:00
  • ec593ebd93 Fixes #287: fixed STREQUAL expressions in CMakeLists.txt eidheim 2020-04-03 11:03:19 +02:00
  • 4d3ca3c1c0 Fixes #291 : added missing inline keyword to make_work_guard eidheim 2020-02-28 11:35:57 +01:00
  • f4ebb57420 Fixed dangling reference in Client::sync_request mentioned in https://gitlab.com/eidheim/Simple-Web-Server/-/merge_requests/248#note_291088756 eidheim 2020-02-19 18:04:05 +01:00
  • 2b5ae3d0d1 Client: removed duplicate code eidheim 2020-02-19 11:58:54 +01:00
  • c6c7d0a6f2 Related to !248: completed synchronous request() fixes eidheim 2020-02-19 09:33:36 +01:00
  • 49e2bb9261 Support asynchronous requests with internal I/O context Jens Moeller 2020-02-18 22:00:02 +00:00
  • 571fe8b0ad Use futures in synchronous request() methods Jens Moeller 2020-02-18 13:05:43 -06:00
  • bc4f6f0a6d Update license year eidheim 2020-02-14 09:10:49 +01:00
  • 1bc0b9a779 Minor fix of streambuf size check in chunked transfer eidheim 2020-02-04 11:06:20 +01:00
  • 84455ac966 Cleanup of timeout handling: timeouts are no longer reset on partial reads and sends eidheim 2020-02-04 10:01:49 +01:00
  • d96ed6f02c Cleanup of content max_size checks eidheim 2020-02-04 09:09:12 +01:00
  • 02bcd02891 Fixes #289: Client now also attempts to reconnect if writing request to server fails eidheim 2020-02-03 10:39:51 +01:00
  • 3be67623fa Client: async request handlers are now called multiple times if response content is larger than Config::max_response_streambuf_size. Also improved streambuf to streambuf copy, and streambuf to string copy. Finally, string() functions no longer consume streambuf. eidheim 2020-01-14 14:32:36 +01:00
  • 5544612a19 Cleanup of chunked transfer: now writes directly to request/response streambuf eidheim 2020-01-14 12:44:26 +01:00
  • f59906cc90 Removed pop_back that could lead to undefined behaviour eidheim 2020-01-14 09:46:12 +01:00
  • 9e4aee7fd3 Improved OPENSSL_VERSION_NUMBER check eidheim 2020-01-03 12:10:46 +01:00
  • 624d088b61 Server: added timeouts to send_from_queue instead of send() in case clients are stalled and server is continously sending data without checking if previous sends are read or not eidheim 2019-12-31 11:01:37 +01:00
  • 22adbf7802 Added missing header to examples eidheim 2019-12-30 18:58:18 +01:00
  • a5fcd2ba0d Updated examples using start callback eidheim 2019-12-30 18:53:02 +01:00
  • d1f273a9f1 The start callback now contains the assigned port instead of having to use bind and accept_and_run methods eidheim 2019-12-30 11:13:41 +01:00
  • ac6bea58ff Added SimpleWeb::post to asio_compability.hpp eidheim 2019-12-29 10:55:57 +01:00
  • d156326598 Added callback to start and accept_and_run eidheim 2019-12-29 10:35:14 +01:00
  • a4db34d989 Removed unneccessary session_id_length variable eidheim 2019-12-14 08:26:02 +01:00
  • bf94fc838d Fixes C4267 MSVC warning in server_https.hpp Vlad Lipskiy 2019-12-06 20:29:50 +03:00