diff options
author | Rider Linden <rider@lindenlab.com> | 2017-07-28 14:07:25 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2017-07-28 14:07:25 -0700 |
commit | 57d5744f2c064ccb7bf8dd3dca2a24f6755297ac (patch) | |
tree | cef79679961afaf2ef43f21c6f4901ed3f536fb0 /indra/llcorehttp/_httppolicy.cpp | |
parent | b46697fcc155d026b5a951256d53581e7af20036 (diff) |
MAINT-7634: Move StatsAccumulator into llcommon, collect data sent and error codes from core.
Diffstat (limited to 'indra/llcorehttp/_httppolicy.cpp')
-rw-r--r-- | indra/llcorehttp/_httppolicy.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcorehttp/_httppolicy.cpp b/indra/llcorehttp/_httppolicy.cpp index b2709b53ec..628a5c79e1 100644 --- a/indra/llcorehttp/_httppolicy.cpp +++ b/indra/llcorehttp/_httppolicy.cpp @@ -34,6 +34,7 @@ #include "_httppolicyclass.h" #include "lltimer.h" +#include "httpstats.h" namespace { @@ -448,6 +449,8 @@ bool HttpPolicy::stageAfterCompletion(const HttpOpRequest::ptr_t &op) } op->stageFromActive(mService); + + HTTPStats::instance().recordResultCode(op->mStatus.getStatus()); return false; // not active } |