Files
SingularityViewer/indra/llmessage
Aleric Inglewood 929badb110 Let statemachine honor approvements.
The inventory bulk fetch is not thread-safe, so the it doesn't start
right away, causing the approvement not to be honored upon return from
post_approved (formerly post_nb).

This patch renames wantsMoreHTTPReqestsFor to approveHTTPRequestFor,
and has it return NULL or a AIPerService::Approvement object.
The latter is now passed to the CurlEasyHandle object instead of just a
boolean mQueueIfTooMuchBandwidthUsage, and then the Approvement is
honored by the state machine right after the request is actually added
to the command queue.

This should avoid a flood of inventory requests in the case
approveHTTPRequestFor is called multiple times before the main thread
adds the requests to the command queue. I don't think that actually ever
happens, but I added debug code (to find some problem) that is so damn
strictly checking everything that I need to be this precise in order to
do that testing.
2013-05-12 04:19:44 +02:00
..
2012-04-29 00:25:40 -04:00
2013-05-07 02:01:31 +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-11-03 14:13:13 +01:00
2012-03-06 07:31:15 +01:00
2012-10-31 05:01:24 +01:00
2012-07-16 22:35:04 +02:00
2013-02-12 20:47:55 -06: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
2012-11-03 14:13:13 +01:00
2012-03-06 07:31:15 +01:00