diff options
author | James Cook <james@lindenlab.com> | 2010-05-04 11:42:17 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-05-04 11:42:17 -0700 |
commit | 9d23a40c85dbaa800bafd8c468532301265ed6f3 (patch) | |
tree | f0781f5ac93880e462a6d17cc8ec0981cce2c8e9 /indra/llmessage | |
parent | 8daf25b65c30f58889ed5923d43bf785cb758026 (diff) |
DEV-49633 WIP LLHTTPClient calls responders with headers _before_ body
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) |