diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-11-21 14:42:21 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-11-21 14:42:21 -0700 |
commit | b4766d2fde6b74c5a4a50cdde4373b5261a020e2 (patch) | |
tree | bf1c28c24730a3ab63f446c94558dfa5b70ee48e /indra/llmessage/llurlrequest.cpp | |
parent | 6c9227df13facff681adb95b9715c35cc3077531 (diff) |
fix for sh-2601: [crashhunters] crash in LLBufferArray::countAfter()
sh-2602: [crashhunters] crash on exit in ~LLPumpIO()
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index fa03bb7512..a3a2b2b1b8 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -170,6 +170,7 @@ LLURLRequest::~LLURLRequest() { LLMemType m1(LLMemType::MTYPE_IO_URL_REQUEST); delete mDetail; + mDetail = NULL ; } void LLURLRequest::setURL(const std::string& url) @@ -344,7 +345,10 @@ LLIOPipe::EStatus LLURLRequest::process_impl( static LLFastTimer::DeclareTimer FTM_URL_PERFORM("Perform"); { LLFastTimer t(FTM_URL_PERFORM); - mDetail->mCurlRequest->perform(); + if(!mDetail->mCurlRequest->wait()) + { + return status ; + } } while(1) |