mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
reduce httppipeline depth
This commit is contained in:
@@ -79,8 +79,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
RequestCookies cookies = _request.Cookies;
|
||||
HttpCookieCollection httpCookies = new HttpCookieCollection();
|
||||
foreach (RequestCookie cookie in cookies)
|
||||
httpCookies.Add(new HttpCookie(cookie.Name, cookie.Value));
|
||||
if(cookies != null)
|
||||
{
|
||||
foreach (RequestCookie cookie in cookies)
|
||||
httpCookies.Add(new HttpCookie(cookie.Name, cookie.Value));
|
||||
}
|
||||
return httpCookies;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user