mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
httpserver send is now async
This commit is contained in:
@@ -139,6 +139,9 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
if (responsedata.ContainsKey("keepalive"))
|
||||
response.KeepAlive = (bool)responsedata["keepalive"];
|
||||
|
||||
if (responsedata.ContainsKey("prio"))
|
||||
response.Priority = (int)responsedata["prio"];
|
||||
|
||||
// Cross-Origin Resource Sharing with simple requests
|
||||
if (responsedata.ContainsKey("access_control_allow_origin"))
|
||||
response.AddHeader("Access-Control-Allow-Origin", (string)responsedata["access_control_allow_origin"]);
|
||||
|
||||
Reference in New Issue
Block a user