You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2022/03/17 11:25:09 UTC

[incubator-linkis] 01/04: Fix this issue that memory leak problem #1737

This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch dev-1.1.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git

commit 88df6bd0fe362d4372629acfedc23e1111aa3681
Author: peacewong <wp...@gmail.com>
AuthorDate: Wed Mar 16 14:29:03 2022 +0800

    Fix this issue that memory leak problem #1737
---
 .../src/main/scala/org/apache/linkis/server/security/SSOUtils.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/security/SSOUtils.scala b/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/security/SSOUtils.scala
index 89a80ee..605f633 100644
--- a/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/security/SSOUtils.scala
+++ b/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/security/SSOUtils.scala
@@ -112,7 +112,7 @@ object SSOUtils extends Logging {
     cookie.setPath("/")
     if(sslEnable) cookie.setSecure(true)
     addEmptyCookie(cookie)
-    removeLoginUserByAddCookie(addEmptyCookie)
+    ProxyUserSSOUtils.removeLoginUserByAddCookie(addEmptyCookie)
   }
 
   def removeLoginUser(removeKeyReturnValue: String => Option[String]): Unit = removeKeyReturnValue(USER_TICKET_ID_STRING).foreach{ t =>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org