summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-20 18:43:28 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-20 18:43:28 -0400
commita066bc1994fccae7967921980332505aac97953f (patch)
tree19e1e0e5ef0594545b30aa06845b0638bcf445cf /indra/newview/lltexturefetch.cpp
parent6b4fe9fadc2301eb13a2854457b67fbebe045b08 (diff)
SH-3181 More interface options for API. Also includes returned headers.
Only thing interesting in this changeset is the discovery that a sleep in the fake HTTP server ties up tests. Need to thread that or fail on client disconnect or something to speed that up and make it usable for bigger test scenarios. But good enough for now...
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r--indra/newview/lltexturefetch.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 2eda6a9b80..4995d9f5ea 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1043,8 +1043,9 @@ void LLTextureFetchWorker::startWork(S32 param)
// Threads: Ttf
bool LLTextureFetchWorker::doWork(S32 param)
{
- static const LLCore::HttpStatus http_not_found(HTTP_NOT_FOUND);
- static const LLCore::HttpStatus http_service_unavail(HTTP_SERVICE_UNAVAILABLE);
+ static const LLCore::HttpStatus http_not_found(HTTP_NOT_FOUND); // 404
+ static const LLCore::HttpStatus http_service_unavail(HTTP_SERVICE_UNAVAILABLE); // 503
+ static const LLCore::HttpStatus http_not_sat(HTTP_REQUESTED_RANGE_NOT_SATISFIABLE); // 416;
// Release waiters while we aren't holding the Mw lock.
mFetcher->releaseHttpWaiters();