Skip to content
Snippets Groups Projects
  1. Nov 20, 2012
  2. Oct 10, 2012
  3. Oct 03, 2012
  4. Oct 02, 2012
  5. Oct 01, 2012
  6. Sep 28, 2012
  7. Sep 26, 2012
  8. Sep 24, 2012
  9. Sep 21, 2012
  10. Jun 14, 2012
    • Monty Brandenberg's avatar
      LLMutex recursive lock, global & per-request tracing, simple GET request,... · b08125a5
      Monty Brandenberg authored
      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.
      b08125a5
  11. Jan 20, 2012
  12. Oct 14, 2011
  13. Jul 22, 2011
  14. Feb 09, 2011
  15. Feb 05, 2011
    • Aleric Inglewood's avatar
      Introduces a LLThreadLocalData class that can be · ef490e30
      Aleric Inglewood authored
      accessed through the static LLThread::tldata().
      Currently this object contains two (public) thread-local
      objects: a LLAPRRootPool and a LLVolatileAPRPool.
      
      The first is the general memory pool used by this thread
      (and this thread alone), while the second is intended
      for short lived memory allocations (needed for APR).
      The advantages of not mixing those two is that the latter
      is used most frequently, and as a result of it's nature
      can be destroyed and reconstructed on a "regular" basis.
      
      This patch adds LLAPRPool (completely replacing the old one),
      which is a wrapper around apr_pool_t* and has complete
      thread-safity checking.
      
      Whenever an apr call requires memory for some resource,
      a memory pool in the form of an LLAPRPool object can
      be created with the same life-time as this resource;
      assuring clean up of the memory no sooner, but also
      not much later than the life-time of the resource
      that needs the memory.
      
      Many, many function calls and constructors had the
      pool parameter simply removed (it is no longer the
      concern of the developer, if you don't write code
      that actually does an libapr call then you are no
      longer bothered with memory pools at all).
      
      However, I kept the notion of short-lived and
      long-lived allocations alive (see my remark in
      the jira here: https://jira.secondlife.com/browse/STORM-864?focusedCommentId=235356&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-235356
      which requires that the LLAPRFile API needs
      to allow the user to specify how long they
      think a file will stay open. By choosing
      'short_lived' as default for the constructor
      that immediately opens a file, the number of
      instances where this needs to be specified is
      drastically reduced however (obviously, any
      automatic LLAPRFile is short lived).
      
      ***
      
      Addressed Boroondas remarks in https://codereview.secondlife.com/r/99/
      regarding (doxygen) comments. This patch effectively only changes comments.
      
      Includes some 'merge' stuff that ended up in llvocache.cpp
      (while starting as a bug fix, now only resulting in a cleanup).
      
      ***
      
      Added comment 'The use of apr_pool_t is OK here'.
      
      Added this comment on every line where apr_pool_t
      is correctly being used.
      
      This should make it easier to spot (future) errors
      where someone started to use apr_pool_t; you can
      just grep all sources for 'apr_pool_t' and immediately
      see where it's being used while LLAPRPool should
      have been used.
      
      Note that merging this patch is very easy:
      If there are no other uses of apr_pool_t in the code
      (one grep) and it compiles, then it will work.
      
      ***
      
      Second Merge (needed to remove 'delete mCreationMutex'
      from LLImageDecodeThread::~LLImageDecodeThread).
      
      ***
      
      Added back #include <apr_pools.h>.
      
      Apparently that is needed on libapr version 1.2.8.,
      the version used by Linden Lab, for calls to
      apr_queue_*. This is a bug in libapr (we also
      include <apr_queue.h>, that is fixed in (at least) 1.3.7.
      
      Note that 1.2.8 is VERY old. Even 1.3.x is old.
      
      ***
      
      License fixes (GPL -> LGPL). And typo in comments.
      Addresses merov's comments on the review board.
      
      ***
      
      Added Merov's compile fixes for windows.
      ef490e30
  16. Dec 17, 2010
  17. Nov 23, 2010
  18. Nov 19, 2010
  19. Nov 11, 2010
  20. Nov 09, 2010
  21. Nov 02, 2010
  22. Oct 13, 2010
  23. Sep 21, 2010
  24. Sep 02, 2010
  25. Aug 13, 2010
  26. Dec 21, 2009
  27. Dec 11, 2009
  28. Nov 23, 2009
  29. Nov 02, 2009
  30. Feb 18, 2009
  31. Jan 07, 2009
  32. Sep 12, 2008
  33. Sep 05, 2008
  34. Jun 02, 2008
  35. Feb 28, 2008
    • Josh Bell's avatar
      svn merge -r 80357:80990... · 2fdd7c35
      Josh Bell authored
      svn merge -r 80357:80990 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-19-1-Server --> release
      
      Merge patches from 1.19.1 Server branch:
      
      * QAR-293 Fix for hardcoded TTLs in web dataservices
      * DEV-10826 fix for busted binary and notation parse if handed an unlimited parse size
      * Bounce apache2 processes before starting backbone/dataserver/simulator
      * Changing web-ds TTL in a way that any query that has 0 < ttl <=60 will have ttl = 61.
      * Partial reversion of multiagent-chat to 1.19.0 to address fast memory leak
      * Fixed minor, non user facing bug in multiagentchat
      * set-classified-stats: Rewrote to use new MDB2 query reformatting syntax
      * Fixed possible bad conversion of vivox data
      * DEV-550, caching changes to DirClassifieds Query
      * QAR-240 (DEV-8488) Prevent residents from purging stuff that isn't trash on the backend
      * More mem leak fixes for multiagent-chat
      * QAR-274 Fetch inventory descendents over TCP (via HTTP cap) instead of UDP
      * DEV-10151: Sometimes group IMs appear to be person to person IMs
      * QAR-321 Changes to crash_reporter
      * DEV-11004 Speed up people search query using FORCE INDEX (PRIMARY) on the username table if the first-name query fragment is >= 3 chars
      * DEV-11004 Speed up people search query using FORCE INDEX (PRIMARY).  Web service version of this, must use two named queries because we need to change the query based on input string length.
      2fdd7c35
  36. Oct 04, 2007
  37. Sep 14, 2007
Loading