diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-05 19:16:05 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-05 19:16:05 +0100 |
commit | 068c404e23ac939879293494ed9d1912c7896e24 (patch) | |
tree | 5ffb18c75b2bd0fbd620ff62c5d66ba54a972ef0 /indra/llmessage | |
parent | f07b8c194447be4753512716402993888b2ed98c (diff) | |
parent | f290e9e851e1af694cd8df86e171b79ed4186e90 (diff) |
merge from viewer-public
Diffstat (limited to 'indra/llmessage')
-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) |