mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Correct positioning of timeout modifier in the SynchronousRestObjectRequester
This commit is contained in:
@@ -77,6 +77,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
WebRequest request = WebRequest.Create(requestUrl);
|
||||
request.Method = verb;
|
||||
request.Timeout = pTimeout * 1000;
|
||||
|
||||
if ((verb == "POST") || (verb == "PUT"))
|
||||
{
|
||||
@@ -96,7 +97,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
int length = (int) buffer.Length;
|
||||
request.ContentLength = length;
|
||||
request.Timeout = pTimeout * 1000;
|
||||
Stream requestStream = null;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user