summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-05-05 21:10:51 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-05-05 21:10:51 +0300
commit140c576c37e365bd1a616ae6eca1b7ce9f77ffab (patch)
tree81e069b31fb25893cc3d8012116a66380455075d /indra/llmessage
parentf73f2c410e12abc2ccf3e0ae2719111cb285962a (diff)
parente2e329b2e22dbab52d12ff309fb78533cb52c8e9 (diff)
Merge from default branch (first sync with dessie/viewer-public).
--HG-- branch : product-engine
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llhttpclient.cpp4
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)