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
Mohammad Nejati
207737695a
Remove static specifier from clamp functions
...
Fixes #2939
2024-10-17 17:23:08 +03:30
Mohammad Nejati
333b5511da
stream_state.ipp: add missing include
2024-09-04 22:37:14 +03:30
Mohammad Nejati
cbcf6cb262
basic_stream: Fix call to net::dispatch
...
Fixes #2925
2024-09-04 19:18:00 +03:30
Saleh Hatefinya
21545dbcaf
Make permessage-deflate status queryable in websocket::stream
2024-09-01 17:51:11 +03:30
Mohammad Nejati
aefc564fa7
basic_parser: remove skip_ usage
2024-08-22 00:22:16 +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
848e20680f
Fix cancellation in teardown_tcp_op
2024-08-06 15:42:40 +03:30
Mohammad Nejati
5f5507f647
Initiating functions no longer perform mutating operations
...
Using `asio::deferred` as a completion token defers the initiation of
operations and creates a lazy operation which might even be discarded.
We need to move mutating operations to the initiator function objects or
the constructor of operation objects, which are guaranteed to run when
the deferred operation is launched.
2024-08-06 15:42:40 +03:30
Mohammad Nejati
2427765fb3
Fix friend declarations of asio::associator<>
...
`asio::associator<>` has got an extra template parameter that enables
SFINAE-based partial specialization:
4928948a6e "
2024-07-10 15:24:59 +03:30
Mohammad Nejati
ef10d6eba2
Version 355
2024-07-08 12:13:16 +03:30
Mohammad Nejati
aabd5b51d3
net::prepend is replaced with net::append
2024-07-07 14:58:49 +03:30
Mohammad Nejati
dadd1bc785
fix narrowing conversion in read_size_hint_db()
2024-07-07 14:58:49 +03:30
Mohammad Nejati
75812db90a
get_executor() works on initiation objects
...
This is required for the new `asio::cancel_at` and `asio::cancel_after`
completion token adapters to work.
2024-07-04 19:49:41 +03:30