summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httprequest.h
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-07-10 18:50:21 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-07-10 18:50:21 -0400
commitbc72acbfd2410e01946375bcfa29cf37a7c01c17 (patch)
treeeaf3f52239c4194a51e4f0b047d436395a77921a /indra/llcorehttp/httprequest.h
parenta5ba9c0eb327d2fb38a39560a34712e844a71a79 (diff)
SH-3244 Syscall avoidance in HttpRequest::update() method
Well, achieved that by doing work in bulk when needed. But turned into some additional things. Change timebase from mS to uS as, well, things are headed that way. Implement an HttpReplyQueue::fetchAll method (advertised one, hadn't implemented it).
Diffstat (limited to 'indra/llcorehttp/httprequest.h')
-rw-r--r--indra/llcorehttp/httprequest.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h
index 134a61b618..9dd53f4483 100644
--- a/indra/llcorehttp/httprequest.h
+++ b/indra/llcorehttp/httprequest.h
@@ -341,13 +341,14 @@ public:
/// are expected to return 'quickly' and do any significant processing
/// outside of the notification callback to onCompleted().
///
- /// @param millis Maximum number of wallclock milliseconds to
+ /// @param usecs Maximum number of wallclock microseconds to
/// spend in the call. As hinted at above, this
/// is partly a function of application code so it's
- /// a soft limit.
+ /// a soft limit. A '0' value will run without
+ /// time limit.
///
/// @return Standard status code.
- HttpStatus update(long millis);
+ HttpStatus update(long usecs);
/// @}