Commit Graph
873 Commits
Author SHA1 Message Date
Mohammad Nejati cc58816ffc Update GHA CI 2024-12-16 10:29:07 +03:30
Mohammad Nejati bed0e1be3c Make CMakeLists.txt compatible with version 3.8
Make call to target_sources conditional
Replace $<CXX_COMPILER_ID:compiler_ids> expressions with individual ones
2024-11-27 22:55:08 +03:30
Mohammad Nejati bb42991e17 Update GHA matrix 2024-11-26 16:51:00 +03:30
Mohammad Nejati c00cca32a4 Make all compile definitions target-specific 2024-11-25 11:41:40 +03:30
Mohammad Nejati 8fe93ba861 CI pipeline for building and testing CMake targets 2024-11-25 11:41:40 +03:30
Mohammad Nejati 9c184406ea Register tests in CMakeLists 2024-11-25 11:41:40 +03:30
Mohammad Nejati 827ecf5e93 Organize source files in CMakeLists with source_group 2024-11-25 11:41:40 +03:30
Mohammad Nejati 75e45287fb Refactor CMakeLists
Closes #2471
Closes #1816
2024-11-25 11:41:40 +03:30
Mohammad Nejati 0886fd891a Suppress -Wunused-parameter warnings in tests 2024-10-26 15:33:15 +03:30
Mohammad Nejati 4ea56c4b39 Fix unreachable code warning in tests 2024-10-26 15:33:15 +03:30
Mohammad Nejati b85b166e34 Enable -Wextra in test/Jamfile 2024-10-26 15:33:15 +03:30
Mohammad Nejati 0078272001 Add forward declaration headers 2024-10-17 17:23:08 +03:30
Mohammad Nejati 3ddcf4ed38 Jamfile cleanup 2024-09-04 22:37:14 +03:30
Saleh Hatefinya 21545dbcaf Make permessage-deflate status queryable in websocket::stream 2024-09-01 17:51:11 +03:30
René Ferdinand Rivera Morell 2bda7870fe Add support for modular build structure. (#2905)
* Use beast exclusive valgrind feature.

* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add Beast root dir for includes. As some tests refer to files relative to that.

* Replace relative docca refs with project based.

* Avoid mtuliple openssl configurations.

* Always declare openssl. If it's empty and duplicate it will be ignored.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.

* Update build deps.

* The http/client/body example uses the source header from json instead of the linked library.
2024-09-01 11:26:02 +03:30
Mohammad Nejati b1f377b2eb basic_parser: set state_ before calling on_finish_impl 2024-08-22 00:22:16 +03:30
Mohammad Nejati a620d4175a basic_parser: apply header_limit_ to trailer headers 2024-08-22 00:22:16 +03:30
Mohammad Nejati f181fbf6e4 basic_parser returns error::header_limit ealier 2024-08-22 00:22:16 +03:30
Mohammad Nejati a9c4a19f26 parser uses basic_fields::insert() with error_code overload 2024-08-22 00:22:16 +03:30
Mohammad Nejati 2e6d9bb491 Add overload for basic_fields::insert() to set error_code 2024-08-22 00:22:16 +03:30
Mohammad Nejati fee9be0be1 Fix Wattributes warnings in tests 2024-07-12 19:42:15 +03:30
Mohammad Nejati ee9762eb38 CI runs fuzzers 2024-06-22 20:56:58 +03:30
Mikhail Khachayants 1b874927c1 Add fuzzing targets 2024-06-21 01:14:20 +03:30
Mohammad Nejati e7f49190ef Fix basic_fields move assignment
Fixes #2517
2024-06-09 18:23:12 +03:30
Mohammad Nejati e55b559ed3 Fix -Wmissing-braces warnings 2024-06-09 18:23:12 +03:30
Mohammad Nejati 74d28c030d Partial writes don't cause bytes_transferred underflow
Fixes #2880
2024-06-06 17:58:25 +03:30
Mohammad Nejati 767397e0c1 read_size_hint does not exceed read_message_max
Fixes #2879
2024-06-06 00:49:08 +03:30
Alexander Kernozhitsky 4bff457ef7 Add 418 I'm a teapot HTTP status 2024-06-03 17:59:18 +03:30
Mohammad Nejati 146de67f5e Fix -Wnonnull warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati da4cdb8a1e Suppress -Wself-move warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati a11ea6bc72 Fix -Wattributes warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati eaaeb8b36b Fix -Wdangling-reference warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati b502789d89 Fix -Wunused-function warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati 4089e27357 net::ssl::stream is canonical in snippets 2024-05-31 16:45:52 +03:30
Mohammad Nejati cf72589ae9 Add 'SSL/TLS Shutdown Procedure' section to documentation
Closes #2868
2024-05-28 23:39:48 +03:30
Mohammad Nejati 2dcdef3890 Handle expired timers in basic_stream transfer_op
Previously, the code only handled expired timers when the buffer was empty.
2024-05-13 22:17:17 +03:30
Mohammad Nejati 67b615ca29 Add test for partial parsing of the final chunk 2024-05-10 17:28:19 +03:30
Mohammad Nejati c5679e40da Turn off warnings for building zlib in the unit tests 2024-03-31 18:59:36 +03:30
Mohammad Nejati bcd65c828e Fix unused parameter warnings in tests 2024-03-31 18:59:36 +03:30
Mohammad Nejati 3d2f982255 Fix narrowing conversion warning in zlib tests 2024-03-31 18:59:36 +03:30
Mohammad Nejati 3e91357daa Fix OpenSSL builds in GHA CI 2024-03-28 18:08:52 +03:30
Mohammad Nejati e0a9da265f buffers_adaptor::subrange conforms to concept
Fixes #2459
2024-02-07 00:11:14 +03:30
Mohammad Nejati 25105e476a Update status code list to conform with IANA registry
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

Resolves #2729
2024-02-06 18:09:48 +03:30
Mohammad Nejati 6adca47bbe Fix unused-result warning in deferred.cpp 2024-01-18 22:57:29 +03:30
Mohammad Nejati a1784e3093 Add missing headers to file_test.hpp 2024-01-18 19:17:07 +03:30
Mohammad Nejati 9e16754dd5 Add non-allocating overload for error category message function
Fixes #2646
2024-01-03 18:21:52 +03:30
Mohammad 0d1e2d64f8 Replace beast::bind_front_handler uses with asio::prepend 2023-12-30 08:47:32 +03:30
Mohammad Nejati 3df5d980d0 Specialize asio::associator for bind_wrapper and bind_front_wrapper 2023-12-29 13:10:30 +03:30
Klemens Morgenstern 3996cae768 allocate & invoke hooks are removed. 2023-10-26 12:33:24 +03:30
Klemens Morgenstern dd875463ff immediate_executor is supported. (#2672) 2023-10-13 05:33:23 -03:00