1. 06 Feb, 2007 2 commits
    • Ruediger Pluem's avatar
      * Add CacheIgnoreQueryString directive to cache requests with a query string · f9b39c0b
      Ruediger Pluem authored
        even if no expiration time is specified. Futhermore the query string will not
        be used for key generation such that requests to the same URI path, but with
        different query strings are mapped to the same cache entity. Turning this
        setting to ON violates RFC 2616/13.9 and thus it is turned off by default.
      
      PR: 41484
      Submitted by: Fredrik Widlund <fredrik.widlund qbrick.com>
      Reviewed by: rpluem
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@504183 13f79535-47bb-0310-9956-ffa450edef68
      f9b39c0b
    • Chris Darroch's avatar
      Introduce configuration groups to allow inheritance by virtual hosts of · bbe8f2dc
      Chris Darroch authored
      database configurations from the main server.  The post_config hook function
      determines the minimal set of distinct configurations necessary so that
      database connection pools are shared between virtual hosts whenever possible.
      
      The SQL statements which should be prepared for each database connection
      are now stored in a hash for each virtual host during the configuration
      phase, and these hashes are merged in the normal manner using
      apr_hash_overlay() with that of the main server.  This allows for statements
      to be de-registered by DBDPrepareSQL, if desired.  The post_config hook
      function then compares the statements registered for each virtual host
      when determining if a separate configuration group is required.  The
      changes in r424798, r432560, r432562, and r466641, which still have problems
      with configuration inheritance, are therefore no longer necessary.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@503931 13f79535-47bb-0310-9956-ffa450edef68
      bbe8f2dc
  2. 05 Feb, 2007 1 commit
  3. 02 Feb, 2007 1 commit
  4. 01 Feb, 2007 2 commits
  5. 29 Jan, 2007 1 commit
  6. 28 Jan, 2007 1 commit
  7. 16 Jan, 2007 1 commit
    • Chris Darroch's avatar
      We now create memory sub-pools for each DB connection and close DB · 581ee2b7
      Chris Darroch authored
      connections in a pool cleanup function.  This simplifies the ap_dbd_acquire()
      and ap_dbd_cacquire() functions, and also stops us from leaking ap_dbd_t
      structures when using reslists.
      
      We ensure that prepared statements are destroyed before their DB connection
      is closed, in case any drivers would have problems cleaning up prepared
      statements after the DB connection is closed.
      
      The combination of reslists and memory pool cleanup functions was causing
      segfaults when child processes exited, as reported in PR 39985.  To prevent
      this, we register dbd_destroy() as a cleanup that will execute prior to
      the internal cleanup function registered by apr_reslist_create().  When the
      reslist's memory pool is destroyed, dbd_destroy() informs dbd_destruct() not
      to do anything when subsequently called by the reslist's internal cleanup
      function.
      
      We avoid the use of s->process->pool (the global pool) since it isn't
      destroyed by exiting child processes in most multi-process MPMs.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@496831 13f79535-47bb-0310-9956-ffa450edef68
      581ee2b7
  8. 11 Jan, 2007 1 commit
  9. 10 Jan, 2007 1 commit
  10. 06 Jan, 2007 1 commit
  11. 02 Jan, 2007 3 commits
  12. 24 Dec, 2006 1 commit
  13. 20 Dec, 2006 1 commit
  14. 19 Dec, 2006 1 commit
  15. 16 Dec, 2006 1 commit
  16. 13 Dec, 2006 3 commits
  17. 12 Dec, 2006 1 commit
  18. 09 Dec, 2006 1 commit
  19. 08 Dec, 2006 7 commits
  20. 07 Dec, 2006 1 commit
  21. 03 Dec, 2006 2 commits
  22. 02 Dec, 2006 1 commit
  23. 18 Nov, 2006 2 commits
  24. 07 Nov, 2006 2 commits
  25. 01 Nov, 2006 1 commit