badaix
6c02252d84
Add client support for websockets
2025-01-24 21:30:19 +01:00
badaix
b4bbdc0265
Add doxygen doc
2025-01-18 21:28:25 +01:00
badaix
ab5318fea4
Fix linter warnings
2025-01-18 21:22:33 +01:00
badaix
d5677b6f78
Reformat code
2025-01-09 15:06:35 +01:00
badaix
aa82ba8397
Cleanup Snapclient includes
2024-04-03 21:50:03 +02:00
badaix
56c8a3f693
Fix common/message includes
2023-01-22 11:34:02 +01:00
badaix
e1c8250876
Reformat code
2022-12-29 19:10:38 +01:00
badaix
bdc6299523
io_context cleanups
2022-04-03 15:27:28 +02:00
badaix
caef2b7b87
Clean up asio includes
2022-01-31 21:07:34 +01:00
badaix
4f29f000de
Use namespace "boost::asio" instead of "net"
2022-01-30 22:07:13 +01:00
badaix
989eb6ec8e
Reorder header includes
2022-01-30 21:45:00 +01:00
badaix
8067394212
Fix data races
2021-09-12 12:03:27 +02:00
Max Kellermann
ae9ad7e3d2
client/connection: verify the message_cast result (nullptr dereference)
...
If the server sends a mismatching reply to a `Time` request packet,
the client crashes due to nullptr dereference because it uses
message_cast() but does not verify the result.
2021-02-17 18:06:31 +01:00
badaix
3ac9245d00
Reformat code with clang 10
2020-11-27 21:29:34 +01:00
badaix
9fcfe09a9a
Reformat code
2020-06-11 13:41:28 +02:00
badaix
799ed8ae66
Protect request response with a strand
2020-06-11 12:53:18 +02:00
badaix
38cddf6424
Fix data race with pending requests
2020-05-02 11:58:31 +02:00
badaix
2217595c6b
Fix crash when messages are queued
2020-05-01 22:37:25 +02:00
badaix
9bb1c4a041
Make controller async, add client Mixer settings
...
Controller uses the asio io_context and thus uses one thread less.
This also fixes a lot of thread sanitizer issues.
2020-05-01 22:37:25 +02:00
badaix
d49b5c251c
Switch to exception_ptr for async exceptions
2020-03-12 23:33:10 +01:00
Christian Flach
8c8226f2dc
Remove most usages of "new" and "malloc" in the client
2020-02-12 22:46:15 +01:00
badaix
8c6d703ec5
Update copyright dates
2020-01-04 01:03:48 +01:00
badaix
e9a5a36855
Client uses less memory allocations
2019-12-12 21:46:23 +01:00
badaix
d8a6e63691
Use promise/future for sync messages
2019-12-11 22:47:11 +01:00
badaix
505769760e
socket on the stack
2019-11-01 17:54:25 +01:00
badaix
0b21a5daee
rename files to snake_case
2019-10-13 18:43:32 +02:00
badaix
a30f548a31
rename files to snake_case
2019-10-12 18:28:29 +02:00
badaix
ea3921d8b7
rename some files to snake_case
2019-10-12 14:34:00 +02:00