summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httppolicy.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
commit15c62d9e713eb1d51cc063c4ec2fed1d1f4ca59c (patch)
treebbd0338a45d6fe58923f108399eaa6db91568420 /indra/llcorehttp/_httppolicy.cpp
parent4e808cfa852b873b484d0b9c90ab89ac196c3e52 (diff)
parent57a99273ed023bd71c54399969e66ffc23eebc57 (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llcorehttp/_httppolicy.cpp')
-rw-r--r--indra/llcorehttp/_httppolicy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcorehttp/_httppolicy.cpp b/indra/llcorehttp/_httppolicy.cpp
index 4889cac9bf..885f0ed61d 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
{
@@ -444,6 +445,8 @@ bool HttpPolicy::stageAfterCompletion(const HttpOpRequest::ptr_t &op)
}
op->stageFromActive(mService);
+
+ HTTPStats::instance().recordResultCode(op->mStatus.getType());
return false; // not active
}