Julius Pfrommer
e02866372c
feat(client): Check if the "CreatedAt" timestamp of the SecurityToken matches the current system clock - consistently use monotonic clock internally
2025-02-04 13:33:31 +01:00
Julius Pfrommer
0e62e11afb
Merge remote-tracking branch 'origin/master' into merge_14_master_25
2025-01-20 16:09:35 +01:00
Noel Graf
d5ce01cee1
fix(tests): Fixed timing issues in tests caused by the generation of the namespace mapping table
2024-12-07 23:03:22 +01:00
Julius Pfrommer
5e7f04b71b
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2024-12-07 22:55:41 +01:00
Julius Pfrommer
1c26a4fd64
fix(client): The server can send no ServerCertificate in the asym header for #None
...
Even if a ServerCertificate is defined for the Endpoint. Some servers in
the wild show this behavior. This was reported by @mario-reif in #6926 .
2024-12-05 11:08:15 +01:00
Julius Pfrommer
6c10a4e941
Merge remote-tracking branch 'origin/1.4' into merge_14_master_5
2023-10-11 20:29:02 +02:00
Julius Pfrommer
751e7dd460
feat(el): Cancel select/epoll when socket is shut down from another thread
2023-10-11 20:28:39 +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
390c092c05
refactor(tests): Include stdlib.h where open62541 no longer does it
2023-07-28 21:42:56 +02: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
Andreas Eckerstorfer
e785fa2a57
fix(test): use correct timeout in check_client_securechannel test
...
The maximum server timeout has been increased from 50 to 200 with
commit 384a672764 .
2023-01-18 12:11:45 +01:00
Julius Pfrommer
2cdafc1bb9
refactor(client): The client directly uses the new SecureChannel API
2022-08-05 09:13:05 +02:00
Alexander Bluhm
12e677df14
test(core): fix more sign-conversion compiler errors
2022-07-21 12:45:26 +02:00
Julius Pfrommer
6c817e7d9b
fix(test): Align check_client_securechannel.c to EventLoop client
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
eb05386c8e
feat(client): Auto-reestablish a broken connection before synchronous requests
2022-07-11 07:18:19 +02:00
Andreas Eckerstorfer
13af9b8688
refactor(core): Remove trailing spaces in code ( #5221 )
2022-06-24 11:03:25 +02:00
Julius Pfrommer
7c23332027
refactor(test): Use _clear instead of _deleteMembers
2020-10-18 15:21:40 +02:00
Julius Pfrommer
1e79f9e18d
feat(test): Test SecureChannel renew with no communication between renews
2020-07-08 21:43:15 +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
4d2eebca1c
refactor(client): Clean up async connect
2020-02-29 13:09:46 +01:00
Julius Pfrommer
a8a8231ba4
Tests: Various fixes for the unit tests on MinGW
2019-06-06 02:32:09 +02:00
Julius Pfrommer
fd08d012d9
Server: Initialize the config in the server
2019-04-23 00:41:32 +02:00
Stefan Profanter
f19a6a1839
Stack: Correct include for architecture related headers
...
Fixes #2646
2019-04-18 08:01:45 +02:00
Stefan Profanter
63f3653ff1
Additional header cleanup and consistent name of ns generated files
2019-03-21 20:16:31 +01:00
Julius Pfrommer
c9c818868f
Move header files to a more unix-like structure
...
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Julius Pfrommer
b4c9fc37eb
Client: Initialize client config inside the client structure
...
Temporarily disable encyrption
2019-01-30 18:45:42 +01:00
Frank Meerkoetter
5bc2cfce90
Do not dynamically allocate a simple bool
...
Giving this variable a static life time is much simpler.
2019-01-07 08:01:35 +01:00
StalderT
6941fe4708
fix select test timing
2017-12-02 18:28:17 +01:00
StalderT
39d48c87a7
add reconnect test
2017-11-27 19:34:06 +01:00
StalderT
23cc7ff34d
try fix SecureChannel_timeout_fail
2017-11-23 14:08:09 +01:00
StalderT
533f043c67
try to activate SecureChannel_timeout_fail
2017-11-23 11:43:35 +01:00
StalderT
3948143c50
fix possible infinity loops and add a unit test unit
2017-11-23 10:44:50 +01:00
Stefan Profanter
3619afb6bd
Add unit test for windows
2017-11-22 15:56:50 +01:00
Stefan Profanter
5af39c884d
Temporary remove unit test
2017-11-22 15:54:59 +01:00
Stefan Profanter
4375c1289a
Temporarily disable failing unit test.
...
See #1388
2017-11-22 15:01:47 +01:00
Julius Pfrommer
6278950c4b
simplify client securechannel test ( #1385 )
...
* simplify client securechannel test
* rename sleeping on simulated testing clock to UA_fakeSleep
* let the server start before calling with the client
2017-11-21 12:52:23 +01:00
Julius Pfrommer
d62fdd9641
begin unit tests for client securechannel edge cases ( #1383 )
2017-11-20 18:36:00 +01:00