summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpclient.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-05-04 16:53:39 -0400
committerLoren Shih <seraph@lindenlab.com>2010-05-04 16:53:39 -0400
commit9bb2a80be48b94725ae951488002ba5f96aeec63 (patch)
treea7c0a7215de9bb3179c32f22b03f41ad940d7cf4 /indra/llmessage/llhttpclient.cpp
parent9ccb83520758ff8967ad7e32594074266504d4c2 (diff)
parent9d23a40c85dbaa800bafd8c468532301265ed6f3 (diff)
automated merge
Diffstat (limited to 'indra/llmessage/llhttpclient.cpp')
-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)