Commit Graph

21 Commits

Author SHA1 Message Date
Julius Pfrommer 2368ec2cbe Merge remote-tracking branch 'origin/1.4' into merge_14_master_21 2024-09-11 15:33:39 +02:00
Joe b6c8441351 fix(server): Allow changing the namespace1 URI before calling UA_Server_startup (#6670) 2024-08-29 14:29:21 +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
Götz Görisch 9b3e7f365a fix(test): Extend check_server_userspace test 2023-01-11 17:58:53 +01: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 041f3121c1 refactor(tests): Replace _deleteMembers with _clear in server tests 2020-09-28 20:06:13 +02:00
Christian von Arnim 0e8332fa8e Fix: check_server_userspace to work with 1.4.7 2020-09-21 11:04:34 +02:00
Alexander Bluhm 30ac5ddd89 feat(server:) Use config customHostname to bind server address
It should be possible to bind to a specific address instead of
always using a * socket for TCP listen.  Reuse the customHostname
of the server config.  That means that the hostname in the server
URL must be an IP address or resolveable by DNS.  The client also
puts the hostname of the URL into getaddrinfo(3) so this should not
be a problem.  Behavior changes if the customHostname was used to
create a discoveryUrl before.  Then it will be used to additionally
bind the address now.
2020-06-17 23:26:51 +02:00
Alexander Bluhm 7c086d9c0a test: fix signedness compile errors
My clang 8.0.1 on OpenBSD could not compile the test programs due
to implicit conversion changes signedness errors.  Use the correct
unsigned ck_assert_uint_eq() function and change some data types.
2020-05-29 08:10:37 +02:00
Stefan Profanter a06a792fa8 fix(server): Correctly initialize application description discovery urls for custom hostname
fixes #3048
2019-08-30 21:27:48 +02:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +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
Stefan Profanter 0fec88807a Fix various gcc8 warnings 2018-06-27 07:08:13 +02:00
Stefan Profanter b22c14dbaf Fix static initialization for TinyCC 2018-01-23 20:08:43 +01:00
Stefan Profanter 242e5eff23 Enable valgrind open FD check and fix open FDs after shutdown 2017-11-23 23:35:32 +01:00
StalderT d5e71be17d add custom hostname (#1382)
* add custom hostname

* Add unit test for set_customHostname
2017-11-21 12:52:47 +01:00
Stefan Profanter 582dbc6e65 Add unit test for UA_Server_forEachChildNodeCall 2017-11-09 16:26:42 +01:00
Mark 1b6c0554cb Move tests into subdirectories for better organization 2017-11-08 10:29:23 +01:00