Commit Graph

15 Commits

Author SHA1 Message Date
Jan Hermes 87798df129 feat: add new keyvaluemap structure + utilities 2022-10-31 13:21:21 +01:00
Julius Pfrommer 38ff117bce refactor(core): The SecureChannel directly uses the EventLoop connection 2022-08-05 09:13:05 +02:00
Julius Pfrommer 7c23332027 refactor(test): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
cochicde 1654d02101 fix(arch): Use UA_INVALID_SOCKET where needed (#3851) 2020-08-19 13:57:58 +02:00
Julius Pfrommer 5da1f5552a refactor(core): Correct name of ConnectionState enum values 2020-05-05 09:33:57 +02:00
Julius Pfrommer a25bb75393 refactor(core): Move ConnectionConfig into SecureChannel 2020-01-18 21:15:08 +01:00
Julius Pfrommer d332c9d40b refactor(core): Assemble complete chunks in the SecureChannel 2020-01-18 21:15:08 +01: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 94a16514f7 Connection: Simplify storage of incomplete chunks
Now the connection receive method preprends the last incomplete chunk
 in the received buffer. This was made necessary by the new chunk
buffering in the SecureChannel.
2018-08-24 21:33:17 +02:00
Julius Pfrommer f6eae36ebe One ConnectionConfig per connection; Deduplicate HEL/ACK negotiation 2018-08-16 10:51:03 +02:00
Julius Pfrommer 97c90048f7 use a fixed send buffer for the testing connection 2017-12-23 21:19:22 +01:00
StalderT 6941fe4708 fix select test timing 2017-12-02 18:28:17 +01:00
Mark 0cabd40863 Modified testing NL and added SecureChannel test.
The testing NetworkLayer now writes the data it 'Sends' into a buffer,
so we can check the buffer in our unit tests.
The new test checks if the headers etc. are encoded correctly and
if the encryption functions are called for the correct data.
2017-11-30 10:08:50 +01:00
Mark 1b6c0554cb Move tests into subdirectories for better organization 2017-11-08 10:29:23 +01:00