diff options
author | JJ Linden <jj@lindenlab.com> | 2013-10-10 16:44:22 -0700 |
---|---|---|
committer | JJ Linden <jj@lindenlab.com> | 2013-10-10 16:44:22 -0700 |
commit | dc431ea6d2e4e13ab505b8118d6f9220630efe96 (patch) | |
tree | 8c37de1ca61cf29e3d1863ce08d34acff666e9ab /indra/llcorehttp/httpresponse.h | |
parent | 3aea5a5a6ab0e6d96fe581a9bab9896956129ba3 (diff) | |
parent | f7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff) |
merged in recent changes
Diffstat (limited to 'indra/llcorehttp/httpresponse.h')
-rwxr-xr-x | indra/llcorehttp/httpresponse.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/llcorehttp/httpresponse.h b/indra/llcorehttp/httpresponse.h index 4a481db6ac..f19b521fbf 100755 --- a/indra/llcorehttp/httpresponse.h +++ b/indra/llcorehttp/httpresponse.h @@ -48,8 +48,9 @@ class HttpHeaders; /// individual pieces of the response. /// /// Typical usage will have the caller interrogate the object -/// and return from the handler callback. Instances are refcounted -/// and callers can bump the count and retain the object as needed. +/// during the handler callback and then simply returning. +/// But instances are refcounted and and callers can add a +/// reference and hold onto the object after the callback. /// /// Threading: Not intrinsically thread-safe. /// @@ -119,6 +120,10 @@ public: /// caller is going to have to make assumptions on receipt of /// a 206 status. The @full value may also be zero in cases of /// parsing problems or a wild-carded length response. + /// + /// These values will not necessarily agree with the data in + /// the body itself (if present). The BufferArray object + /// is authoritative for actual data length. void getRange(unsigned int * offset, unsigned int * length, unsigned int * full) const { *offset = mReplyOffset; |