* Only append ACKs to outgoing packets if one or more ACKs are successfully dequeued

* Commented out noisy CAPS debugging messages
* Added a test (under packet tests for lack of a better place) to measure Environment.TickCount resolution and fail if the resolution is not consistently under a 10ms variance

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2813 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-05-27 00:29:43 +00:00
parent b49d0736cc
commit baaf1fb1f4
4 changed files with 40 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ namespace OpenMetaverse.Http
this.response = response;
// Spawn a new thread to hold the connection open and return from our precious IOCP thread
Thread thread = new Thread(new ThreadStart(EventQueueThread));
Thread thread = new Thread(EventQueueThread);
thread.IsBackground = true;
thread.Start();
}
@@ -215,10 +215,6 @@ namespace OpenMetaverse.Http
batchMsPassed = (int)(DateTime.Now - start).TotalMilliseconds;
}
}
else
{
Logger.Log.Info("[EventQueue] Dequeued a signal to close the handler thread");
}
// Make sure we can actually send the events right now
if (context.Stream == null || !context.Stream.CanWrite)