You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by GitBox <gi...@apache.org> on 2022/11/14 05:55:10 UTC
[GitHub] [shiro] zenglzh commented on pull request #526: Performance optimization
zenglzh commented on PR #526:
URL: https://github.com/apache/shiro/pull/526#issuecomment-1313132565
Through the system pressure test, this lock has a great impact on our system performance.
Can you put `ALLOW_ BACKSLASH`, as a global static variable, can be reset by a static method, such as:
```java
//WebUtils.java
public static void retrieveSystemProperties(){
WebUtils.allowBackslash = Boolean.getBoolean(ALLOW_BACKSLASH);
}
```
This method is slightly modified, but the test case needs to be modified.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@shiro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org