Browse Source

Add EndpointUrl to CreateSessionRequest (#768)

Stefan Profanter 8 years ago
parent
commit
1bb7b550fb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/client/ua_client.c

+ 1 - 0
src/client/ua_client.c

@@ -472,6 +472,7 @@ static UA_StatusCode SessionHandshake(UA_Client *client) {
     UA_ByteString_copy(&client->channel->clientNonce, &request.clientNonce);
     request.requestedSessionTimeout = 1200000;
     request.maxResponseMessageSize = UA_INT32_MAX;
+    UA_String_copy(&client->endpointUrl, &request.endpointUrl);
 
     UA_CreateSessionResponse response;
     UA_CreateSessionResponse_init(&response);