summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpinternal.h
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-07-06 19:14:42 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-07-06 19:14:42 -0400
commitd2af82aafc9ef569c9552f269ccf4e4fd38a1f33 (patch)
treec4155cc15573361f1521309087de54425500b7d3 /indra/llcorehttp/_httpinternal.h
parentf37b90df5046fbe50309beada01022e35c5aa424 (diff)
Experiment with ignoring priority in the library. Let upper layers
sort things out or use policy classes (eventually) to arrange low and high priority traffic. Subjectively, I think this works better in practice (as I haven't implemented a dynamic priority setter yet).
Diffstat (limited to 'indra/llcorehttp/_httpinternal.h')
-rw-r--r--indra/llcorehttp/_httpinternal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcorehttp/_httpinternal.h b/indra/llcorehttp/_httpinternal.h
index 4ccace2b30..5f966500c9 100644
--- a/indra/llcorehttp/_httpinternal.h
+++ b/indra/llcorehttp/_httpinternal.h
@@ -32,6 +32,14 @@
// something wrong is probably happening.
+// If '1', internal ready queues will not order ready
+// requests by priority, instead it's first-come-first-served.
+// Reprioritization requests have the side-effect of then
+// putting the modified request at the back of the ready queue.
+
+#define LLCORE_READY_QUEUE_IGNORES_PRIORITY 1
+
+
namespace LLCore
{