diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-05-05 21:10:51 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-05-05 21:10:51 +0300 |
commit | 140c576c37e365bd1a616ae6eca1b7ce9f77ffab (patch) | |
tree | 81e069b31fb25893cc3d8012116a66380455075d /indra/llmessage/llhttpclient.cpp | |
parent | f73f2c410e12abc2ccf3e0ae2719111cb285962a (diff) | |
parent | e2e329b2e22dbab52d12ff309fb78533cb52c8e9 (diff) |
Merge from default branch (first sync with dessie/viewer-public).
--HG--
branch : product-engine
Diffstat (limited to 'indra/llmessage/llhttpclient.cpp')
-rw-r--r-- | indra/llmessage/llhttpclient.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp index dd56e18caf..964cbd1026 100644 --- a/indra/llmessage/llhttpclient.cpp +++ b/indra/llmessage/llhttpclient.cpp @@ -79,8 +79,10 @@ namespace { if (mResponder.get()) { - mResponder->completedRaw(mStatus, mReason, channels, buffer); + // Allow clients to parse headers before we attempt to parse + // the body and provide completed/result/error calls. mResponder->completedHeader(mStatus, mReason, mHeaderOutput); + mResponder->completedRaw(mStatus, mReason, channels, buffer); } } virtual void header(const std::string& header, const std::string& value) |