diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2011-11-21 15:02:50 -0700 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2011-11-21 15:02:50 -0700 | 
| commit | 147b14089916bd2cbb078b0bc47c76458ab31e79 (patch) | |
| tree | aaa8fb0fc2000dd19206871df793f3e7ee76afa5 /indra/llmessage/llurlrequest.cpp | |
| parent | ebf0b70e05f2d6539dd14c28a8a327105523025d (diff) | |
| parent | b4766d2fde6b74c5a4a50cdde4373b5261a020e2 (diff) | |
Automated merge with https://bitbucket.org/VirLinden/viewer-development-shining-fixes
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)  | 
