05/22/2014
Hi,
I'm going trough CTT tests for OPC UA Client and I've found two tests in "Core Client Facet" Profile: Err-026 and Err-027. They both saying that the client should obey the maxRequestMessageSize limitation returned from the server. I went trough the .Net Stack client code and actually the size of the request is validated (TCPChannel.MessageLimitsExceeded), but the value is not coming from the CreateSession call, but from message acknowledgement (TCPClientChannel.ProcessAcknowledgeMessage).
Even after the error injection is enabled, the maxRequestMessageSize value is received, but in fact is ignored.
I'm wondering what should be the correct behaviour. Even if I manually update the channel limits, it may be overridden by later ack message parameters.
Any thoughts?
1 Guest(s)