diff --git a/indra/llcorehttp/_httpinternal.h b/indra/llcorehttp/_httpinternal.h
index 4ccace2b303eca869559730ef18531b336ef09ee..5f966500c9a6ea8be21a8a4ff7053f7cd3930409 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
 {
 
diff --git a/indra/llcorehttp/_httpreadyqueue.h b/indra/llcorehttp/_httpreadyqueue.h
index 87828834dcf2aefc3e62fb4a4abc0bf7c260a2eb..968ca01258151db98e1dffa864aab82f536334c4 100644
--- a/indra/llcorehttp/_httpreadyqueue.h
+++ b/indra/llcorehttp/_httpreadyqueue.h
@@ -30,6 +30,7 @@
 
 #include <queue>
 
+#include "_httpinternal.h"
 #include "_httpoprequest.h"
 
 
@@ -47,10 +48,18 @@ namespace LLCore
 /// Threading:  not thread-safe.  Expected to be used entirely by
 /// a single thread, typically a worker thread of some sort.
 
+#if LLCORE_READY_QUEUE_IGNORES_PRIORITY
+
+typedef std::deque<HttpOpRequest *> HttpReadyQueueBase;
+
+#else
+
 typedef std::priority_queue<HttpOpRequest *,
 							std::deque<HttpOpRequest *>,
 							LLCore::HttpOpRequestCompare> HttpReadyQueueBase;
 
+#endif // LLCORE_READY_QUEUE_IGNORES_PRIORITY
+
 class HttpReadyQueue : public HttpReadyQueueBase
 {
 public:
@@ -66,16 +75,40 @@ class HttpReadyQueue : public HttpReadyQueueBase
 	void operator=(const HttpReadyQueue &);		// Not defined
 
 public:
+
+#if LLCORE_READY_QUEUE_IGNORES_PRIORITY
+	// Types and methods needed to make a std::deque look
+	// more like a std::priority_queue, at least for our
+	// purposes.
+	typedef HttpReadyQueueBase container_type;
+	
+	const_reference & top() const
+		{
+			return front();
+		}
+
+	void pop()
+		{
+			pop_front();
+		}
+
+	void push(const value_type & v)
+		{
+			push_back(v);
+		}
+	
+#endif // LLCORE_READY_QUEUE_IGNORES_PRIORITY
+	
 	const container_type & get_container() const
 		{
-			return c;
+			return *this;
 		}
 
 	container_type & get_container()
 		{
-			return c;
+			return *this;
 		}
-
+	
 }; // end class HttpReadyQueue