summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httprequest.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-07-28 14:07:25 -0700
committerRider Linden <rider@lindenlab.com>2017-07-28 14:07:25 -0700
commit57d5744f2c064ccb7bf8dd3dca2a24f6755297ac (patch)
treecef79679961afaf2ef43f21c6f4901ed3f536fb0 /indra/llcorehttp/httprequest.h
parentb46697fcc155d026b5a951256d53581e7af20036 (diff)
MAINT-7634: Move StatsAccumulator into llcommon, collect data sent and error codes from core.
Diffstat (limited to 'indra/llcorehttp/httprequest.h')
-rw-r--r--indra/llcorehttp/httprequest.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h
index 17cfdcd7b6..c958132ae2 100644
--- a/indra/llcorehttp/httprequest.h
+++ b/indra/llcorehttp/httprequest.h
@@ -680,7 +680,20 @@ private:
/// @}
// End Global State
// ====================================
-
+
+ struct Statistics
+ {
+ Statistics():
+ mTotalRequests(0),
+ mCurrentRequests(0)
+ {}
+
+ S32 mTotalRequests;
+ S32 mCurrentRequests;
+ };
+
+ static Statistics mStatistics;
+
}; // end class HttpRequest