diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index e59f063..5cb222c 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -658 \ No newline at end of file +659 \ No newline at end of file diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt index 116f2e3..c0db21d 100644 --- a/Builder/IISUploadHandler/build.txt +++ b/Builder/IISUploadHandler/build.txt @@ -1 +1 @@ -391 \ No newline at end of file +392 \ No newline at end of file diff --git a/IISMainHandler/WebContext.cs b/IISMainHandler/WebContext.cs index 3b64582..7e078eb 100644 --- a/IISMainHandler/WebContext.cs +++ b/IISMainHandler/WebContext.cs @@ -20,9 +20,17 @@ namespace FLocal.IISHandler { } private object requestParts_Locker = new object(); + private string[] requestParts_Data = null; public string[] requestParts { get { - return Cache.instance.get(requestParts_Locker, () => this.httprequest.Path.Split("/", StringSplitOptions.RemoveEmptyEntries)); + if(this.requestParts_Data == null) { + lock(this.requestParts_Locker) { + if(this.requestParts_Data == null) { + this.requestParts_Data = this.httprequest.Path.Split("/", StringSplitOptions.RemoveEmptyEntries); + } + } + } + return this.requestParts_Data; } }