phoenix-firestorm/indra/llcorehttp/tests
Monty Brandenberg b08125a587 LLMutex recursive lock, global & per-request tracing, simple GET request, LLProxy support, HttpOptions starting to work, HTTP resource waiting fixed.
Non-LLThread-based threads need to do some registration or LLMutex locks taken out in these
threads will not work as expected (SH-3154).  We'll get a better solution later, this fixes
some things for now.  Tracing of operations now supported.  Global and per-request (via
HttpOptions) tracing levels of [0..3].  The 2 and 3 levels use libcurl's VERBOSE mode
combined with CURLOPT_DEBUGFUNCTION to stream high levels of detail into the log.  *Very*
laggy but useful.  Simple GET request supported (no Range: header).  Really just a
degenrate case of a ranged get but supplied an API anyway.  Global option to use the
LLProxy interface to setup CURL handles for either socks5 or http proxy usage.  This
isn't really the most encapsulated way to do this but a better solution will have to
come later.  The wantHeaders and tracing options are now supported in HttpOptions giving
per-request controls.  Big refactoring of the HTTP resource waiter in lltexturefetch.
What I was doing before wasn't correct.  Instead, I'm implementing the resource wait
after the Semaphore model (though not using system semaphores).  So instead of having
a sequence like:  SEND_HTTP_REQ -> WAIT_HTTP_RESOURCE -> SEND_HTTP_REQ, we now
do WAIT_HTTP_RESOURCE -> WAIT_HTTP_RESOURCE2 (actual wait) -> SEND_HTTP_REQ.  Works
well but the prioritized filling of the corehttp library needs some performance
work later.
2012-06-14 16:31:48 -04:00
..
llcorehttp_test.cpp HTTP Proxy, PUT & POST, unit tests and refactoring. 2012-06-12 17:42:33 -04:00
llcorehttp_test.h Bring in the testrunner/http server scaffold for better integration testing. 2012-06-11 19:06:52 -04:00
test_allocator.cpp Okay, got Mac building with Boost 1.48. Unit tests needed NULL pointer 2012-05-08 10:38:08 -04:00
test_allocator.h
test_bufferarray.hpp Convert BufferArray interfaces to void * (not char *). HttpRequest::update() honor time limit. 2012-06-11 17:47:04 -04:00
test_httpheaders.hpp Build llcorehttp as part of a viewer dependency with unit tests. This required 2012-05-07 15:16:31 -04:00
test_httpoperation.hpp HTTP Proxy, PUT & POST, unit tests and refactoring. 2012-06-12 17:42:33 -04:00
test_httprequest.hpp LLMutex recursive lock, global & per-request tracing, simple GET request, LLProxy support, HttpOptions starting to work, HTTP resource waiting fixed. 2012-06-14 16:31:48 -04:00
test_httprequestqueue.hpp
test_httpstatus.hpp Integrate llcorehttp library into lltexturefetch design. 2012-05-23 19:12:09 -04:00
test_llcorehttp_peer.py HTTP Proxy, PUT & POST, unit tests and refactoring. 2012-06-12 17:42:33 -04:00
test_refcounted.hpp Build llcorehttp as part of a viewer dependency with unit tests. This required 2012-05-07 15:16:31 -04:00
testrunner.py Bring in the testrunner/http server scaffold for better integration testing. 2012-06-11 19:06:52 -04:00