Files
SingularityViewer/indra/llmessage
Aleric Inglewood f7614dced3 Fix possible problem with negative mQueuedCommands
mQueuedCommands was unsigned, but can become shortly negative.
Unfortunately this means I had to remove the assert that
keeps track of possible errors, but I believe that already
has been proven that it works anyway.

The reason it can become negative is because its meaning is
"Number of added ADD (request) commands minus number of REMOVE (request)
commands". Hence, it is incremented when an ADD command is added to the
queue and decremented when that ADD command is removed from the queue.
However, it is first decremented when a REMOVE command is added to the
queue and then incremented again when that REMOVE command is removed
again from the queue. Such a remove command is current extremely rare:
it only happens when curl fails to time out - and the backup timeout of
the statemachine fires after 10 minutes of a curl request being idle.
That should normally only happen if a request never reached curl of
course, and is queued in the curl thread, waiting to be added to curl,
aka: -0-0-1,{...} for 10 minutes...

Now that, in turn should be impossible (since the "don't count long poll
connections) unless the Curl* Debug Setting variables are changed to
wrong values.. but ok, can only guess here.
2013-10-06 15:27:40 +02:00
..
2012-04-29 00:25:40 -04:00
2013-05-07 02:01:31 +02:00
2013-07-08 17:25:06 +02:00
2013-01-08 17:50:09 +01:00
2012-12-24 19:58:54 +01:00
2012-03-06 07:31:15 +01:00
2012-10-26 04:13:29 +02:00
2013-02-12 20:47:55 -06:00
2013-02-12 20:47:55 -06:00
2012-08-09 10:56:29 -04:00
2012-10-31 05:01:24 +01:00
2013-07-31 15:49:34 -04:00
2012-07-16 22:35:04 +02:00
2012-03-06 07:31:15 +01:00
2012-11-03 14:13:13 +01:00
2012-10-31 23:11:42 +01:00
2012-07-20 08:13:07 -04:00
2013-09-27 03:14:51 +02:00
2012-11-03 14:13:13 +01:00
2012-03-06 07:31:15 +01:00
2013-09-27 03:14:51 +02:00