Commit Graph
76 Commits
Author SHA1 Message Date
Julius Pfrommer de6e63bfff refactor(client): Pull in inline definitions and better typing of async callback methods 2025-02-20 10:45:26 +01:00
Julius Pfrommer 5bba2ba794 refactor(core): Fold the <type>_generated_handling.h into <type>_generated.h 2024-05-29 06:14:56 +02:00
Julius Pfrommer 09317bcc00 Merge remote-tracking branch 'origin/1.4' 2023-11-14 17:39:04 +01:00
Julius Pfrommer 9f3adac3d1 feat(test): Add test for MonitoredItem with negative sampling interval 2023-11-08 23:14:09 +01:00
Julius Pfrommer 9eee407857 Merge remote-tracking branch 'origin/1.4' into merge_14_master_7 2023-10-22 11:32:38 +02:00
Julius Pfrommer 71fe28c869 fix(test): Make check_client_subscriptions.c time-deterministic 2023-10-22 10:51:09 +02:00
Julius Pfrommer dd300f3eff refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests 2023-10-04 10:56:26 +02:00
Julius Pfrommer 928931ec36 refactor(core): Move architecture-specific definition out of the public headers 2023-07-28 21:42:56 +02:00
Julius Pfrommer 52c8b0c4f4 Merge remote-tracking branch 'origin/1.3' into merge_master_13_11 2023-05-09 15:17:55 +02:00
Jiří Engelthaler 80c3e91675 fix(server): Transfer subscription - fix queued subscription notifications
When transferring a subscription, TAILQ_FOREACH_SAFE must be used for
queued subscription notifications.

Unit test updated.

Fix #5774
2023-05-09 15:14:49 +02:00
Julius Pfrommer b19cc6d78c refactor(core): Remove UA_SECURECHANNELSTATE_FRESH
Instead use UA_SECURECHANNELSTATE_CLOSED as the default.
This is the pattern used everywhere else as well.
2023-04-29 22:25:30 +02:00
Julius Pfrommer 4d5ceb378c Merge remote-tracking branch 'origin/1.3' into merge_13_master_12 2023-03-26 10:21:49 +02:00
Julius Pfrommer 67a4cb637d fix(client): Fix crash during Client_delete (#5649)
UA_Client_AsyncService_removeAll was called "reentrant" leading to an
unauthorized memory access.
2023-02-19 21:15:10 +01:00
Julius Pfrommer 282b5a582b fix(tests): Make check_client_subscriptions more robust wrt timings 2023-02-14 00:40:31 +01:00
Andreas Eckerstorfer 022ad60723 fix (tests): Check server instance in UNIT tests
Failed UNIT tests caused an exception in the server loop, if the
server instance could not be created.
2023-01-31 00:07:18 +01:00
Julius Pfrommer c005953c14 refactor(server): Lock server during ns0 initialization 2023-01-04 00:38:46 +01:00
Julius Pfrommer 2cdafc1bb9 refactor(client): The client directly uses the new SecureChannel API 2022-08-05 09:13:05 +02:00
Julius Pfrommer ec19796db8 refactor(test): Remove use of comboSleep from check_client_subscriptions.c 2022-07-25 23:37:06 +02:00
Alexander Bluhm 12e677df14 test(core): fix more sign-conversion compiler errors 2022-07-21 12:45:26 +02:00
Julius Pfrommer de9d691906 refactor(client): Refactor NetworkCallback to make the unit tests work 2022-07-11 07:18:19 +02:00
Julius Pfrommer 747e4cbd73 fix(client): Update tests to work with the EventLoop-based client 2022-07-11 07:18:19 +02:00
Julius Pfrommer 899324ca03 fix(client): Immediately try to send Publish requests when the Session activates 2022-07-11 07:18:19 +02:00
Julius Pfrommer 11923b8d16 Merge remote-tracking branch 'origin/1.3' into merge_132_master 2022-06-24 15:25:25 +02:00
Andreas Eckerstorfer 13af9b8688 refactor(core): Remove trailing spaces in code (#5221) 2022-06-24 11:03:25 +02:00
Julius Pfrommer 6822b81335 fix(client): Remove async requests when the SecureChannel closes
The RequestId cannot be recovered on the new SecureChannel.
2022-06-24 10:47:11 +02:00
Julius Pfrommer de5d26a860 refactor(el): Remove the old server networking code (replaced with EventLoop) 2022-04-20 20:35:29 +02:00
Julius Pfrommer dba1796702 refactor(core): Remove some long deprecated definitions 2021-11-13 20:26:02 +01:00
Julius Pfrommer 935d2d8782 feat(server): Consider the priority byte for late Subscription handling 2021-11-11 15:54:27 +01:00
Julius Pfrommer d17ff0cbc8 feat(tests): Add Client_subscription_writeBurst 2021-07-14 14:54:48 +02:00
Martin Lang 262905bf20 refactor(core): Disambiguate UA_SECURECHANNELSTATE_FRESH from _CLOSED 2021-02-15 06:36:13 +01:00
Julius Pfrommer 8dbf074a73 refactor(server): Immediately delete Subscriptions that cannot send out a StatusChange Notification 2020-12-27 14:06:32 +01:00
Julius Pfrommer d11d7decba Merge branch 'fix_modify_datachange_1.1' into fix_modify_datachange_1.2 2020-12-22 11:56:13 +01:00
Julius Pfrommer b89c31206b fix(server): Don't discard last MonitoredItem sample during ModifyMonitoredItem 2020-12-22 11:46:00 +01:00
Julius Pfrommer f7cd27d0dd fix(test): Make check_client_subscriptions.c more robust 2020-11-25 16:55:34 +01:00
Julius Pfrommer 5b7a3a14c3 Merge remote-tracking branch 'origin/1.1' into master 2020-11-15 23:18:48 +01:00
Julius Pfrommer 25c8c6a0bf Merge remote-tracking branch 'origin/1.0' into 1.1 2020-11-15 18:27:34 +01:00
Julius Pfrommer 85eb16e830 feat(tests): Test that ModifyMonitoredItems does not trigger an immediate sampling 2020-11-15 17:19:47 +01:00
Julius Pfrommer 7c23332027 refactor(test): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Julius Pfrommer 3b88100d3d feat(server): Implement TransferSubscriptions service 2020-08-24 18:24:52 +02:00
Julius Pfrommer 5520657862 feat(server): Subscriptions can exist without a Session 2020-08-24 18:24:52 +02:00
Julius Pfrommer d481cfb5b3 feat(test): Test StatusChange notifications 2020-08-01 22:44:37 +02:00
Stefan Profanter 96de667005 fix(ci): Fix azure pipeline builds (#3674) 2020-06-08 12:03:12 +02:00
Stefan Profanter 8bdec31ad6 fix(ci): Fix azure pipeline builds (#3674) 2020-06-08 01:12:43 +02:00
Stefan Profanter ba5cf14f9c fix(ci): Fix azure pipeline builds (#3674) 2020-06-05 14:46:53 +02:00
Julius Pfrommer 989b1a736c test(client): Handle subscriptions when the client connection aborts 2020-05-20 15:18:38 +02:00
Julius Pfrommer 97ce87470c feat(client): Track Session state separately 2020-05-05 09:33:57 +02:00
Julius Pfrommer cbde3c8803 refactor(client): Simplify the client connection API 2020-05-05 09:33:57 +02:00
Julius Pfrommer d07b8b954d fix(tests): Fix tests with subscriptions disabled 2020-01-26 12:39:37 +01:00
Julius Pfrommer ed2406d3a3 fix(tests): Async fixes for check_client_subscriptions.c 2020-01-19 19:32:52 +01:00
Julius Pfrommer d332c9d40b refactor(core): Assemble complete chunks in the SecureChannel 2020-01-18 21:15:08 +01:00