summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httppolicy.h
diff options
context:
space:
mode:
authorsimon <none@none>2014-11-03 18:02:49 -0800
committersimon <none@none>2014-11-03 18:02:49 -0800
commit3b50cdd74c5870d3268ed30e342f13cf188a7841 (patch)
tree9cae9119e97248beaacf4b19ff8056a2a4167142 /indra/llcorehttp/_httppolicy.h
parent0ffecdcfb203852a8f4a392331a5d177f8480bdd (diff)
parentfa7610fea599a98cc6e79d3835a14f8e5ca2b6b1 (diff)
Merge downstream code and become 3.7.20
Diffstat (limited to 'indra/llcorehttp/_httppolicy.h')
-rwxr-xr-xindra/llcorehttp/_httppolicy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcorehttp/_httppolicy.h b/indra/llcorehttp/_httppolicy.h
index bf1aa74267..11cd89bbd1 100755
--- a/indra/llcorehttp/_httppolicy.h
+++ b/indra/llcorehttp/_httppolicy.h
@@ -158,6 +158,14 @@ public:
/// Threading: called by worker thread
int getReadyCount(HttpRequest::policy_t policy_class) const;
+ /// Stall (or unstall) a policy class preventing requests from
+ /// transitioning to an active state. Used to allow an HTTP
+ /// request policy to empty prior to changing settings or state
+ /// that isn't tolerant of changes when work is outstanding.
+ ///
+ /// Threading: called by worker thread
+ bool stallPolicy(HttpRequest::policy_t policy_class, bool stall);
+
protected:
struct ClassState;
typedef std::vector<ClassState *> class_list_t;