disable keepalive on llHttpRequest

0.9.0-post-fixes
UbitUmarov 2017-05-22 05:02:42 +01:00
parent 7c3200b393
commit bad00670a9
1 changed files with 1 additions and 0 deletions

View File

@ -538,6 +538,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
{ {
Request = (HttpWebRequest)WebRequest.Create(Url); Request = (HttpWebRequest)WebRequest.Create(Url);
Request.AllowAutoRedirect = false; Request.AllowAutoRedirect = false;
Request.KeepAlive = false;
//This works around some buggy HTTP Servers like Lighttpd //This works around some buggy HTTP Servers like Lighttpd
Request.ServicePoint.Expect100Continue = false; Request.ServicePoint.Expect100Continue = false;