diff options
author | Northspring <pantera.polnocy@phoenixviewer.com> | 2014-11-15 21:13:50 +0100 |
---|---|---|
committer | Northspring <pantera.polnocy@phoenixviewer.com> | 2014-11-15 21:13:50 +0100 |
commit | dc913aaea58ef7ce71e27dd7e49da0b10622b05e (patch) | |
tree | c9ef9a503ff9c9732c4ea5a8df1a909c73af1880 /indra/llcorehttp/_httppolicy.h | |
parent | c721f87d83a0402a62a1694a1c682053ec0f09a7 (diff) | |
parent | 2301cf800f40101baed7a5936683d0b1e4968be1 (diff) |
Merge
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; |