1653 Commits

Author SHA1 Message Date
Mohammad Nejati 7c1e061f91 bump version 2026-07-06 20:40:03 +03:30
Sahana Bogar 3c1f91fa62 reject 1xx responses with a body in prepare_payload 2026-07-06 11:09:42 +03:30
Mohammad Nejati 56a7c3af49 clear error_code on successful file operations
Fixes #3035
2026-06-25 21:42:26 +03:30
Sahana Bogar bb6cf79a7c validate quoted-string in parse_chunk_extensions 2026-06-25 12:21:34 +03:30
sahvx655-wq d8316541cf accept websocket close code 1014 (bad gateway) 2026-06-22 08:27:27 +03:30
Mohammad Nejati 1733307bc0 reject request transfer-encoding that does not end in chunked 2026-06-21 16:31:14 +03:30
sahvx655-wq f9dc1c6755 reject content-length with transfer-encoding regardless of order 2026-06-21 10:40:45 +03:30
sahvx655-wq 736daa032d reject chunked transfer-encoding in HTTP/1.0 requests 2026-06-13 09:29:31 +03:30
sahvx655-wq ee17b92ca6 reject 64-bit frame length with the high bit set 2026-06-09 08:42:58 +03:30
Mohammad Nejati aaf0ef3f58 Remove dependency on Boost.Functional 2026-06-08 12:01:41 +03:30
Mohammad Nejati 54a49706e4 Unconditionally drop framing and connection-control fields carried in trailers 2026-06-08 12:01:41 +03:30
sahvx655-wq 60b4c2e3fc basic_parser ignores connection and framing fields in trailers 2026-06-08 12:01:41 +03:30
Mohammad Nejati 077efe520d Bump version 2026-04-14 01:14:00 +03:30
Mohammad Nejati 04660c613b Add HTTP2-Settings to HTTP field enum 2026-04-14 01:14:00 +03:30
Mohammad Nejati 1bc50fd748 Add missing type_with_alignment.hpp include 2026-02-13 23:17:14 +03:30
Mohammad Nejati 69a2eab2e5 Enforce 8KB sanity limit on chunk headers 2026-01-28 09:13:02 +03:30
Mohammad Nejati a0723466fb Revert "basic_parser: remove skip_ usage"
This reverts commit aefc564fa7.
2026-01-28 09:13:02 +03:30
Pavel P 8dca61b566 Avoid tyecast warnings in inflate_with_eb 2026-01-25 16:06:18 +03:30
Mohammad Nejati 0620a680c2 saved_handler destroys handler if cancellation_slot::emplace throws 2025-11-06 10:47:12 +03:30
biljazovic ad2c9a3ab9 Fix cancellation slot retrieval in saved_handler::emplace. 2025-11-05 21:49:30 +03:30
Mohammad Nejati 5d6edfabfa Version 359 2025-11-01 19:50:54 +03:30
Mohammad Nejati a3d00a6d0c move local class definition from saved_handler::emplace to saved_handler::impl
The `storage` class triggers a bug on clang-3.6 in C++14 builds.
2025-11-01 19:50:54 +03:30
Mohammad Nejati 42c1f2973c remove reserved double-underscore from identifier in BOOST_BEAST_ASSIGN_EC 2025-11-01 19:50:54 +03:30
Mohammad Nejati e085c528a8 Remove dependency on Boost.Preprocessor
Closes #3050
2025-10-24 13:25:21 +03:30
Mohammad Nejati b687af73c3 replace BOOST_STATIC_ASSERT with BOOST_CORE_STATIC_ASSERT
Closes #3048
2025-10-24 13:25:21 +03:30
Mohammad Nejati 63f3d3f393 parser rejects non-standard trailer fields by default 2025-10-16 15:32:39 +03:30
Mohammad Nejati 7f5b093bd0 basic_parser uses a dedicated callback for trailer fields 2025-10-16 15:32:39 +03:30
Mohammad Nejati 94cbb0339a field constants are updated 2025-10-16 15:32:39 +03:30
dvtate 72dc439584 Add basic_fields::contains member function 2025-10-12 12:08:36 +03:30
Mohammad Nejati 33411d58ba buffer_body ignores empty chunks
Fixes #3032
2025-10-10 15:29:51 +03:30
Mohammad Nejati 97d6ddb730 Fix allocator move/copy assignment in flat_buffer and multi_buffer
Fixes #3034
2025-10-03 22:11:12 +03:30
Mohammad Nejati 164db4bc57 Fix websocket permessage-deflate error on partial message consumption
fixes #3028
2025-09-04 08:15:23 +03:30
Mohammad Nejati 1fc5512b92 Fixed -Wmaybe-uninitialized warnings
These warnings are only triggered when a combination of
`-Wmaybe-uninitialized` and `-ftrivial-auto-var-init=zero` is used
with GCC 14.2 or later.
2025-07-19 20:23:55 +03:30
Danijel Zlaus e99590f163 Fix uninitialized variable
Error manifests when using GCC 15.1 with the following flags '-Wall Werror=uninitialized -fhardened'
2025-07-19 20:23:55 +03:30
Mohammad Nejati 3772c1113e Version 358 2025-07-08 18:03:42 +03:30
Mohammad Nejati 1edc287c05 Fix std::is_trivial deprecation warnings 2025-07-08 18:03:42 +03:30
Mohammad Nejati 19c38c308a Replace detail/work_guard.hpp with net::executor_work_guard
In newer versions of Asio, `executor_work_guard<>` can be used even when
`ASIO_NO_TS_EXECUTORS` is defined.
2025-04-27 16:08:05 +03:30
Mohammad Nejati 78478557f6 Conditionally define immediate_executor_type in async_base
Fixes #3002
2025-04-27 16:08:05 +03:30
Yuhan Liu f60f7c152f added cstdint include 2025-04-26 22:09:35 +03:30
Mohammad Nejati 1f3c4089ab Use handshake_timeout for closing handshake during read operations
Fixes #2999
2025-04-26 21:17:00 +03:30
Mohammad Nejati fecd29050a Version 357 2025-02-28 16:38:36 +03:30
Mohammad Nejati 4e384f086b async_read_some documentation mentions how to identify message completion
Closes #2969
2025-02-11 12:41:30 +03:30
Mohammad Nejati 8c3d8a907d Improve documentation of websocket::stream::async_close
Addresses #2730
2025-02-11 12:23:01 +03:30
Mohammad Nejati 95386da791 Update websocket idle timer upon receiving a ping message 2025-02-09 18:25:10 +03:30
Morten Minde Neergaard f9387fda71 websockets: Count pings from server as activity for idle_timeout
If the stream is receiving control packets like ping, don't count it as
idle. This means you can enable `timeout_opt.keep_alive_ping` on only
one side to get heartbeat.

Make tests that verify current behaviour.

Update documentation to match changes in PR #2718.

Addresses issue #2716
2025-02-09 18:25:10 +03:30
Mohammad Nejati 8b379d4fb1 Fix out-of-band access issue in iequals function 2024-12-16 10:29:07 +03:30
Mohammad Nejati f42d178249 Version 356 2024-11-05 16:50:36 +03:30
Mohammad Nejati 71cea5c4d9 Fix -Wdeprecated-literal-operator warnings
Fixes #2946
2024-11-05 16:50:36 +03:30
Mohammad Nejati 4ea56c4b39 Fix unreachable code warning in tests 2024-10-26 15:33:15 +03:30
Mohammad Nejati 0078272001 Add forward declaration headers 2024-10-17 17:23:08 +03:30