-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Review) Modify Send-/Recv-buffer handling + MaxMsgSize (from PR 2955) #3975
base: 1.2
Are you sure you want to change the base?
(Review) Modify Send-/Recv-buffer handling + MaxMsgSize (from PR 2955) #3975
Conversation
Current commit: I am not the client guy, so someone with client expertise is asked to look into the UA_SecureChannel_clientProcessHELACK function. |
I understand that there are some differences in the client and server-side handling. |
Imho there are no real common parts which can be used for both. UA_StatusCode
UA_SecureChannel_ProcessHELACK(UA_SecureChannel *channel,
const UA_TcpAcknowledgeMessage *remoteServerConfig, uint8_t fServerOrClient)
{
if(fServerOrClient == Server)
{
/* do checks from function UA_SecureChannel_serverProcessHELACK */
}
else
{
/* do checks from funtion UA_SecureChannel_clientProcessHELACK */
}
return UA_STATUSCODE_GOOD Some checks could maybe merged and reused.
BUT so the client side never uses a bad statuscode and the client must be able to handle each channel configuration revised from the server. This ends up, that a client has to support unlimited resources each time. |
44342c8
to
70d9ced
Compare
This pull request introduces 1 alert when merging ab3ab96 into 0af95df - view on LGTM.com new alerts:
|
239495c
to
b95458a
Compare
This pull request introduces 1 alert when merging b95458a into 0af95df - view on LGTM.com new alerts:
|
…)' of https://github.com/mlang-de/open62541 into Modify_Send-/Recv-buffer_handling_+_MaxMsgSize_(PR_2955)
@jpfr Please confirm, that this PR is ok in relation to 1.2 rebasing. I do a lot squash, rebase and so. Not sure that this PR is now "clean" or "ok". Tests outstanding. |
See discussion in pull request #2955