diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2012-12-21 22:21:58 +0000 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2012-12-21 22:21:58 +0000 |
commit | 6c3375356e7366f4384d9233a43d2c58a01e7241 (patch) | |
tree | e17c003d9203e6799555020c83330867f87e986d /indra/newview | |
parent | b003ed1fd708db2061c3557251c198040746eb07 (diff) |
SH-3331 Fix incorrect overrun message when sending body with HTTP
request. During readcallback, would generate an overrun-type message
about reading position beyond end-of-data. Mistake was is messaging
when state is exactly at end of data (which is expected) versus an
overrun. Both result in declaring end-of-data to libcurl. Also
changed some of the status logging for the metrics payload to be
less chatty on success, more informative on error.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltexturefetch.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index a2854dd6d8..8af403c1c6 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -3678,13 +3678,14 @@ public: if (status) { - LL_WARNS("Texture") << "Successfully delivered asset metrics to grid." - << LL_ENDL; + LL_DEBUGS("Texture") << "Successfully delivered asset metrics to grid." + << LL_ENDL; } else { - LL_WARNS("Texture") << "Error delivering asset metrics to grid. Reason: " - << status.toString() << LL_ENDL; + LL_WARNS("Texture") << "Error delivering asset metrics to grid. Status: " + << status.toHex() + << ", Reason: " << status.toString() << LL_ENDL; } } }; // end class AssetReportHandler |