summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-05 19:16:05 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-05 19:16:05 +0100
commit8d9c7855ddbe3f4666a293f29f4d6c89730d10c5 (patch)
tree6d84364e513f68908f2fddcbd1a4a68ca1958062 /indra/llmessage
parent447bffcb532694fcc3bc3b046051f02ac4550fd3 (diff)
parentf290e9e851e1af694cd8df86e171b79ed4186e90 (diff)
merge from viewer-public
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)