summaryrefslogtreecommitdiff
path: root/indra/newview/lleventpoll.cpp
AgeCommit message (Collapse)Author
2026-04-01#5569 Potential fix for frequent disconnects #2Andrey Kleshchev
2026-03-25#5569 Potential fix for frequent disconnectsAndrey Kleshchev
According to firestorm's investigation #4685's removal of http level retries negatively affects disconnects. Removal is still nessesary to not cause increasing wait time for legal timeout 'errors'. To compensate for the removal, increase retry count and decrease delay for unexpected errors.
2026-01-08#5232 Crash in handleMessage when trying to access llsd's contentAndrey Kleshchev
Crash at LLSD::Impl::assign
2025-11-28#5072 Use make_shared for more efficient ref counting and allocationRye
2025-09-17#4685 EventQueueGet shouldn't use llcorehttp's backoff-retry logicAndrey Kleshchev
- Event poll already has own backoff logic with 10 retries, using llcorehttp's one on top makes no sense. - Better logging coverage - Better in-code documentation - Add timing-based error detection
2025-04-07#3627 std::bad_alloc in EventPollAndrey Kleshchev
2024-08-07Replace boost::shared_ptr with std in voice classesAndrey Kleshchev
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2023-12-01SL-20611 Followup -- fix for water rendering twice. Add comments around ↵RunitaiLinden
LLEventPoll hack.
2023-11-30SL-20611 Incorporate water haze into new post effect atmospherics goodnessRunitaiLinden
2023-01-16SL-18735 Using "Find original" in main inventory tab breaks inventory viewAndrey Kleshchev
Fixes folders being invidible (missing arrange) Fixes sroll to target not working reliably
2021-05-31SL-15093 Crash nanov2_free_to_block #2Andrey Kleshchev
Mostly converted some boost pointers to std ones Made ~LLNotificationChannelBase() more explicit to get a bit more data on location of another crash that likely happens when cleaning mItems
2020-10-28SL-14217 Shutdown crashAndrey Kleshchev
Don't process EventQueueGet responses from server when disconected
2018-12-12SL-10238: Viewer spport for push notifications from the simulator contaiting ↵Rider Linden
partial groups of settings. Blend these settings into the current environment.
2016-08-15merge from viewer-releaseBrad Payne (Vir Linden)
2016-07-12STORM-2132: Remove obsoleted unique_ptr.hpp, use make_shared for pointer ↵Rider Linden
allocation.
2016-07-11MAINT-6565: Grab a shared pointer and encapsulate it into the bind call in ↵Rider Linden
place of this. Ensures that the impl is not deleted while the coroutine is active.
2016-07-05SL-109 - little bit of log spam cleanupBrad Payne (Vir Linden)
2016-04-04merge with 4.0.3-releaseOz Linden
2015-12-04Initial changes for Vivox/Azumarill merge. Lots of temporary code and ↵Rider Linden
conditional compile switches. Begin switch from statemachine to coroutine.
2015-11-19MAINT-5804, MAINT-5890: Incorrectly trapping timeout in event poll and ↵Rider Linden
canceling coroutine before it's finished.
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-10-14MAINT-5732: Change to the way event polling handles error conditions and ↵Rider Linden
cancel calls. Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr Started minor refactor in the materials manager into coroutines (unfinished)
2015-09-18Set consistent terminology for yield/wait -> suspend for coroutines.Rider Linden
2015-07-11MAINT-5351: Finish messy merge restoring 'selfless' changes.Nat Goodspeed
2015-07-10Backed out changeset bab1000e1b2d: restore 'selfless' changesNat Goodspeed
2015-07-07Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5Rider Linden
2015-07-01MAINT-5351: Remove 'self' parameter from coroutine functions.Nat Goodspeed
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest builds clean, but the resulting viewer is as yet untested.
2015-06-03Remove vestigial httpclient.h include from files that no longer need it.Rider Linden
2015-05-11Updated feature manager downloader to coroutine.Rider Linden
Added "raw" coroutine handler (returns raw result as LLSD::Binary) and split out the guts of the get, put, etc methods. Moved getStatusFromLLSD from HttpCoroHandler into HttpCorutineAdapter
2015-04-09Issue with LL_WARNS_IF sort out later.Rider Linden
2015-04-09Added LL_WARNS_IF to llerror.hRider Linden
If the coro is given something other than a map from the http then move the return into a body section. Changed windlight to use a coroutine and the new LLCore::Http libarary. Extra comments into Event Polling.
2015-04-08Couple of cleanup items.Rider Linden
Switch to Long poll HTTP policy for event polling.
2015-04-08Removed dead codeRider Linden
2015-04-08Added timeout on failure.Rider Linden
2015-04-08Moved some LLEventPolling internal classes to a named namespaceRider Linden
Canceling outstanding polling transactions
2015-04-08Adding weak pointer support.Rider Linden
Event polling as a coroutine. (incomplete) Groundwork for canceling HttpCoroutineAdapter yields.
2014-05-14v-r -> s-e merge WIPBrad Payne (Vir Linden)
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2013-10-29Merge viewer-release => sunshine-internalDon Kjer
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-05-21mergeBrad Payne (Vir Linden)
2013-05-01Merge vwr-dev-matGraham Madarasz
2013-04-30Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.
2013-03-05Fixing issues with not detecting when LLSD XML parsing fails. Changing most ↵Don Kjer
http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
2012-10-03Fix non-thread-safe refcounting of LLHTTPClient::Responder and fix ↵Dave Parks
out-of-order deletion of LLTextureFetch on shutdown
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden