diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-06-04 17:57:49 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-06-04 17:57:49 +0300 |
commit | c76f10adcf0cf6e03b393acdc26c448c51ec8ece (patch) | |
tree | e75f3ab5dafc7ef922db3b62951e785cc0d23c07 /indra | |
parent | 8348e50c7f8f304e6d3733fb5a0a8d7bdb056fef (diff) |
MAINT-8686 Better http termination logging
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcorehttp/_httpservice.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llcorehttp/_httpservice.cpp b/indra/llcorehttp/_httpservice.cpp index 49d865cbfa..0b72b53186 100644 --- a/indra/llcorehttp/_httpservice.cpp +++ b/indra/llcorehttp/_httpservice.cpp @@ -95,10 +95,12 @@ HttpService::~HttpService() if (! mThread->timedJoin(250)) { // Failed to join, expect problems ahead so do a hard termination. - mThread->cancel(); + LL_WARNS(LOG_CORE) << "Destroying HttpService with running thread. Expect problems." << LL_NEWLINE + << "State: " << S32(sState) + << " Last policy: " << U32(mLastPolicy) + << LL_ENDL; - LL_WARNS(LOG_CORE) << "Destroying HttpService with running thread. Expect problems." - << LL_ENDL; + mThread->cancel(); } } } |