Korina Šimičević
40b1f7e00c
Initiation lambdas replaced with classes with executor_type/get_executor
...
Summary:
related to #13 , T13767
`asio::cancel_at` and `asio::cancel_after` (coming with Boost 1.86) use associated executor
from the initiation object to construct the underlying timer.
Therefore, initiation lambdas are replaced with classes with executor_type/get_executor to allow that functionality
(like Asio/Beast).
Alternative solutions:
1) asio::bind_executor(get_executor(), initiation)
2) async_compose
Reviewers: ivica
Reviewed By: ivica
Subscribers: iljazovic, miljen
Differential Revision: https://repo.mireo.local/D30861
2024-08-09 09:01:45 +02:00
Korina Šimičević
0330df77a3
Add missing assignment operators
...
Summary:
related to T13767
- add missing assignment operators
- marked single argument constructors as explicit where needed
- add even more missing includes
Reviewers: ivica
Reviewed By: ivica
Subscribers: iljazovic, miljen
Differential Revision: https://repo.mireo.local/D30813
2024-08-08 10:59:38 +02:00
Korina Šimičević
927c1c6e3a
Update license to BSL-1.0
...
Summary: related to T13767 T13767
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D29686
2024-05-27 10:59:59 +02:00
Korina Šimičević
794f48e915
Add support for g++-9 compiler
...
Summary: related to #7 , T13767
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D29302
2024-05-09 14:55:04 +02:00
Korina Šimičević
bfae05f7a9
Remove deprecated API usage
...
Summary: related to T13767
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D28958
2024-04-16 11:54:46 +02:00
Korina Šimičević
3d80f47010
Open and set socket options on the lowest layer before initiating connect_op
...
Summary: related to T13767
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D28111
2024-02-23 13:25:59 +01:00
Korina Šimičević
7cbd7725fc
Wait exponentially longer when all hosts have been exhausted during reconnect
...
Summary: related to T13746
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27995
2024-02-19 13:26:12 +01:00
Korina Šimičević
e5de307723
Remove unnecessary get_cancellation_slot().clear() calls
...
Summary: related to T13706
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27894
2024-02-14 07:57:08 +01:00
Korina Šimičević
10aabbb483
Do not unlock the connection mutex if the operation was cancelled
...
Summary: related to T11798
Reviewers: ivica
Reviewed By: ivica
Subscribers: iljazovic, miljen
Differential Revision: https://repo.mireo.local/D27877
2024-02-13 07:38:25 +01:00
Korina Šimičević
e0ae572e1b
Cancellation fixes
...
Summary:
related to T11798
- Cancel functions post outstanding handlers
- Properly cancel autoconnect stream
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27763
2024-02-06 15:27:39 +01:00
Bruno Iljazovic
d78fdd3208
use associated executors for intermediate handlers
...
Summary: * per-operation cancellation changed: total/partial signals only prevent further resending, terminal signal cancels the whole client
Reviewers: ivica
Reviewed By: ivica
Subscribers: korina
Differential Revision: https://repo.mireo.local/D27246
2024-01-09 16:35:16 +01:00
Korina Šimičević
e849166599
Downgrade C++ standard requirement to C++17
...
Summary: related to T13242
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D26860
2023-12-07 09:50:41 +01:00
Korina Šimičević
35b190ef67
Declaration changes meaning fix
...
Summary: resolves T13222
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Maniphest Tasks: T13222
Differential Revision: https://repo.mireo.local/D26828
2023-12-05 12:28:47 +01:00
Ivica Siladic
d9489597b3
Syntax consolidation.
2023-12-04 18:42:57 +01:00
Ivica Siladic
d00acde499
Improve compilation time by 25% by reducing number of template class instantiation.
2023-12-03 11:52:04 +01:00
Bruno Iljazovic
f6248eea40
correct tracking executor
...
Summary: - don't resend per-operation cancelled publish and (un)subscribe operations
Reviewers: ivica
Reviewed By: ivica
Subscribers: korina
Differential Revision: https://repo.mireo.local/D26724
2023-11-28 11:04:14 +01:00
Korina Šimičević
83493c83d9
[mqtt client&test] #includes housekeeping
...
Summary: resolves T12777
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen
Maniphest Tasks: T12777
Differential Revision: https://repo.mireo.local/D25995
2023-10-06 12:31:55 +02:00
Korina Šimičević
2d957cd46f
[mqtt-client] boost-like project folder structure
...
Summary: resolves T12767
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen
Tags: #spacetime
Maniphest Tasks: T12767
Differential Revision: https://repo.mireo.local/D25970
2023-10-05 15:19:18 +02:00