minor: adjust some spacing and indentation

bulletsim
Justin Clark-Casey (justincc) 2011-04-11 22:29:08 +01:00
parent 464fa45ec9
commit 3a98fb080a
1 changed files with 10 additions and 10 deletions

View File

@ -86,7 +86,6 @@ using OpenSim.Region.Framework.Scenes;
namespace OpenSim.Region.CoreModules.Scripting.HttpRequest namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
{ {
public class HttpRequestModule : IRegionModule, IHttpRequestModule public class HttpRequestModule : IRegionModule, IHttpRequestModule
{ {
private object HttpListLock = new object(); private object HttpListLock = new object();
@ -118,6 +117,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
{ {
return true; return true;
} }
return chain.Build(new X509Certificate2(certificate)); return chain.Build(new X509Certificate2(certificate));
} }
#region IHttpRequestModule Members #region IHttpRequestModule Members
@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
* Not sure how important ordering is is here - the next first * Not sure how important ordering is is here - the next first
* one completed in the list is returned, based soley on its list * one completed in the list is returned, based soley on its list
* position, not the order in which the request was started or * position, not the order in which the request was started or
* finsihed. I thought about setting up a queue for this, but * finished. I thought about setting up a queue for this, but
* it will need some refactoring and this works 'enough' right now * it will need some refactoring and this works 'enough' right now
*/ */
@ -363,8 +363,8 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
if(!HttpVerifyCert) if(!HttpVerifyCert)
{ {
// Connection Group Name is probably not used so we hijack it to identify // We could hijack Connection Group Name to identify
// a desired security exception // a desired security exception. But at the moment we'll use a dummy header instead.
// Request.ConnectionGroupName = "NoVerify"; // Request.ConnectionGroupName = "NoVerify";
Request.Headers.Add("NoVerifyCert", "true"); Request.Headers.Add("NoVerifyCert", "true");
} }