Korina Šimičević
4cbae1056b
#includes revision and housekeeping
...
Summary: related to T13767
Reviewers: ivica
Reviewed By: ivica
Subscribers: iljazovic, miljen
Differential Revision: https://repo.mireo.local/D31700
2024-10-08 13:13:31 +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ć
9cb54f73a4
Remove unnecessary casts to unsigned types
...
Summary: related to T12015
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27927
2024-02-15 12:00:42 +01:00
Korina Šimičević
33c8eea890
Add function to set keep alive/ping interval
...
Summary:
related to T13566
- mqtt_client has a new keep_alive(seconds) function
- keep_alive(0) disables ping
- if keep_alive() is not called, the client assumes keep_alive=10
- the client respects server_keep_alive if sent by the broker
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27557
2024-02-01 08:29:22 +01:00
Korina Šimičević
4bf59cc18c
Better test packet logging & validation
...
Summary:
related to T12015, T11798
- improved packet logging in test broker for easier debugging
- test broker will fail the test if a packet is sent after all the messages were exchanged
- fixed a bug in assemble_op where read buffer was not properly cleared if an error occurred (for example, malformed packet cases)
Reviewers: ivica
Reviewed By: ivica
Subscribers: iljazovic, miljen
Differential Revision: https://repo.mireo.local/D27561
2024-01-26 10:28:41 +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ć
123e70d8fe
Improved CONNECT & CONNACK property client functions
...
Summary: related to T13427
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27218
2024-01-05 08:03:38 +01:00
Korina Šimičević
bf81ab5ee7
Handle all warnings on MSVC Win32
...
Summary: related to T13409
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27165
2024-01-02 16:04:18 +01:00
Korina Šimičević
7c0b9042d1
Allow user to modify CONNECT properties
...
Summary: related to T13332
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D27108
2023-12-22 14:07:05 +01:00
Korina Šimičević
97d8a4ea86
Validate control packet size
...
Summary: resolves T13332
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Maniphest Tasks: T13332
Differential Revision: https://repo.mireo.local/D27000
2023-12-22 10:00:53 +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ć
3640a4fb2a
Remove using enum constructs
...
Summary: related to T13242
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Differential Revision: https://repo.mireo.local/D26841
2023-12-06 10:07:41 +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ć
b4f4cd0047
add a notification in receive channel when session resets
...
Summary: resolves T13152
Reviewers: ivica
Reviewed By: ivica
Subscribers: miljen, iljazovic
Maniphest Tasks: T13152
Differential Revision: https://repo.mireo.local/D26679
2023-11-23 15:46:30 +01:00
Bruno Iljazovic
7e60e7a919
[mqtt-client] add support for enhanced authentication
...
Summary:
- Relates to T12899
- TODO: support re-authentication
Reviewers: ivica
Reviewed By: ivica
Subscribers: korina
Maniphest Tasks: T12899
Differential Revision: https://repo.mireo.local/D26327
2023-11-03 09:01:26 +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