Explorar o código

CTT: Return correct StatusCode after Session transfer (fix #1895)

Julius Pfrommer %!s(int64=6) %!d(string=hai) anos
pai
achega
8d571ef316
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/ua_server_binary.c

+ 1 - 1
src/server/ua_server_binary.c

@@ -521,7 +521,7 @@ processMSG(UA_Server *server, UA_SecureChannel *channel,
                                "bound to this SecureChannel");
         UA_deleteMembers(request, requestType);
         return sendServiceFault(channel, msg, requestPos, responseType,
-                                requestId, UA_STATUSCODE_BADSESSIONNOTACTIVATED);
+                                requestId, UA_STATUSCODE_BADSECURECHANNELIDINVALID);
     }
 
     /* Update the session lifetime */