diff options
| author | Merov Linden <merov@lindenlab.com> | 2013-10-04 09:47:26 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2013-10-04 09:47:26 -0700 |
| commit | 1e32b9dd33fb9e2f0d9a7935a3696b423a191354 (patch) | |
| tree | adeadd5ef0b8c4514b325f74c3426b2af76e422b /indra/llcorehttp/httpresponse.h | |
| parent | f53b2bd880875b5194b6d298e1aad7d8951db9f3 (diff) | |
| parent | f7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff) | |
Pull merge of lindenlab/viewer-release
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; |
