diff options
author | Oz Linden <oz@lindenlab.com> | 2014-11-14 22:32:54 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-11-14 22:32:54 -0500 |
commit | 6b4916fc758ba1ab70cced59b8fb959e241b984a (patch) | |
tree | 9b72b24291554abe87456776ebaaa56e6c3f8ad7 /indra/llcorehttp/_httppolicy.h | |
parent | dbdbcbbd3cc3ba21b255f992fae291ab3f13edcf (diff) | |
parent | cfb1779e26d1ab15acdbc9d2fc5982b84af56765 (diff) |
merge up to tip of viewer-tools-update
Diffstat (limited to 'indra/llcorehttp/_httppolicy.h')
-rwxr-xr-x | indra/llcorehttp/_httppolicy.h | 8 |
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; |