1. 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
  2. 13 Jan, 2007 1 commit
  3. 12 Jan, 2007 1 commit
  4. 11 Jan, 2007 3 commits
  5. 10 Jan, 2007 2 commits
  6. 09 Jan, 2007 3 commits
  7. 06 Jan, 2007 1 commit
  8. 04 Jan, 2007 3 commits
  9. 03 Jan, 2007 2 commits
    • William A. Rowe Jr's avatar
      · 9b96114b
      William A. Rowe Jr authored
        Correctly evaluate the HTTPS condition string.
      
      PR: 40573
      Submitted by: Matt Eaton <asf divinehawk.com>
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492341 13f79535-47bb-0310-9956-ffa450edef68
      9b96114b
    • William A. Rowe Jr's avatar
      · 9bf06958
      William A. Rowe Jr authored
        Where any response is sent, return OK from the handler.  Where there
        is no response (but a status code) return the code.  This patch adds
        a great number of debugging emits for failed ap_pass_brigade calls,
        to help diagnose failure cases, and disambiguates OK from APR_SUCCESS. 
      
      PR: 40470
      Submitted by: wrowe, Matt Eaton <asf divinehawk.com>
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492333 13f79535-47bb-0310-9956-ffa450edef68
      9bf06958
  10. 02 Jan, 2007 4 commits
  11. 31 Dec, 2006 1 commit
  12. 30 Dec, 2006 2 commits
  13. 29 Dec, 2006 1 commit
  14. 25 Dec, 2006 2 commits
  15. 24 Dec, 2006 7 commits
  16. 20 Dec, 2006 1 commit
  17. 19 Dec, 2006 2 commits
  18. 16 Dec, 2006 2 commits
  19. 13 Dec, 2006 1 commit