|
@@ -508,7 +508,7 @@ requestSession(UA_Client *client, UA_UInt32 *requestId) {
|
|
|
request.requestHeader.timestamp = UA_DateTime_now();
|
|
|
request.requestHeader.timeoutHint = 10000;
|
|
|
UA_ByteString_copy(&client->channel.localNonce, &request.clientNonce);
|
|
|
- request.requestedSessionTimeout = 1200000;
|
|
|
+ request.requestedSessionTimeout = client->config.requestedSessionTimeout;
|
|
|
request.maxResponseMessageSize = UA_INT32_MAX;
|
|
|
UA_String_copy(&client->endpointUrl, &request.endpointUrl);
|
|
|
|