diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs b/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs index 1391013..1b6401a 100644 --- a/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs +++ b/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
53 | private double lastTimeTick = 0.0; | 53 | private double lastTimeTick = 0.0; |
54 | private double lastFilesExpire = 0.0; | 54 | private double lastFilesExpire = 0.0; |
55 | private bool inTimeTick = false; | 55 | private bool inTimeTick = false; |
56 | 56 | ||
57 | public struct XferRequest | 57 | public struct XferRequest |
58 | { | 58 | { |
59 | public IClientAPI remoteClient; | 59 | public IClientAPI remoteClient; |
@@ -68,7 +68,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
68 | public int refsCount; | 68 | public int refsCount; |
69 | public double timeStampMS; | 69 | public double timeStampMS; |
70 | } | 70 | } |
71 | 71 | ||
72 | #region INonSharedRegionModule Members | 72 | #region INonSharedRegionModule Members |
73 | 73 | ||
74 | public void Initialise(IConfigSource config) | 74 | public void Initialise(IConfigSource config) |
@@ -202,7 +202,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
202 | } | 202 | } |
203 | } | 203 | } |
204 | } | 204 | } |
205 | 205 | ||
206 | public void NewClient(IClientAPI client) | 206 | public void NewClient(IClientAPI client) |
207 | { | 207 | { |
208 | client.OnRequestXfer += RequestXfer; | 208 | client.OnRequestXfer += RequestXfer; |
@@ -275,7 +275,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
275 | int burstSize = remoteClient.GetAgentThrottleSilent((int)ThrottleOutPacketType.Asset) >> 11; | 275 | int burstSize = remoteClient.GetAgentThrottleSilent((int)ThrottleOutPacketType.Asset) >> 11; |
276 | if(Transfers.Count > 1) | 276 | if(Transfers.Count > 1) |
277 | burstSize /= Transfers.Count; | 277 | burstSize /= Transfers.Count; |
278 | XferDownLoad transaction = | 278 | XferDownLoad transaction = |
279 | new XferDownLoad(fileName, fileData, xferID, remoteClient, burstSize); | 279 | new XferDownLoad(fileName, fileData, xferID, remoteClient, burstSize); |
280 | 280 | ||
281 | Transfers.Add(xferID, transaction); | 281 | Transfers.Add(xferID, transaction); |
@@ -288,7 +288,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
288 | } | 288 | } |
289 | } | 289 | } |
290 | else | 290 | else |
291 | m_log.WarnFormat("[Xfer]: {0} not found", fileName); | 291 | m_log.WarnFormat("[Xfer]: {0} not found", fileName); |
292 | } | 292 | } |
293 | } | 293 | } |
294 | 294 | ||
@@ -381,9 +381,9 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
381 | lastBytes = 1024; | 381 | lastBytes = 1024; |
382 | LastPacket--; | 382 | LastPacket--; |
383 | } | 383 | } |
384 | 384 | ||
385 | } | 385 | } |
386 | 386 | ||
387 | lastAckPacket = -1; | 387 | lastAckPacket = -1; |
388 | lastSentPacket = -1; | 388 | lastSentPacket = -1; |
389 | 389 | ||