1. 26 May, 2006 1 commit
    • Chris Darroch's avatar
      Make the worker and event MPMs not touch the scoreboard when · 053c9598
      Chris Darroch authored
      handling a fork() failure.  The previous behaviour appears to have
      been inherited from the prefork MPM, where is it appropriate.
      
      The prefork MPM sets thread_limit to 1 and therefore each
      child process has a single worker_score structure in the scoreboard's
      array, i.e., ap_scoreboard_image->servers[slot][0].  In make_child(),
      it sets this structure's status to SERVER_STARTING, and then does
      a fork(); if the fork() fails, it resets the status to SERVER_DEAD.
      
      The worker and event MPMs, by constrast, obviously use multiple
      worker_score structures per child process.  They may also be
      in use by worker threads from a previous generation at any particular
      moment.  Therefore make_child() and the parent process in general
      doesn't normally update them; make_child() doesn't set them all
      to SERVER_STARTING before doing fork(), for example.
      
      So, make_child() shouldn't set them to SERVER_DEAD if fork()
      fails (and even if it should, it certainly shouldn't be just
      updating the first one).
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409693 13f79535-47bb-0310-9956-ffa450edef68
      053c9598
  2. 21 May, 2006 1 commit
  3. 17 May, 2006 1 commit
    • Ruediger Pluem's avatar
      * Handle the cases "no proxy request" and "reverse proxy request" in the same · 25ae9a5d
      Ruediger Pluem authored
        manner, when setting scheme and port_str. This is needed because if a cached
        entry is looked up by mod_cache's quick handler r->proxyreq
        is still unset in the reverse proxy case as it only gets set in the
        translate name hook (either by ProxyPass or mod_rewrite) which is run
        after the quick handler hook. This is different to the forward proxy
        case where it gets set before the quick handler is run (in the
        post_read_request hook).
        If a cache entry is created by the CACHE_SAVE filter we always have
        r->proxyreq set correctly.
        Also set scheme to ap_http_scheme(r) instead of "http" to handle SSL
        correctly.
      
      PR: 39593
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@407357 13f79535-47bb-0310-9956-ffa450edef68
      25ae9a5d
  4. 10 May, 2006 1 commit
  5. 09 May, 2006 2 commits
  6. 07 May, 2006 1 commit
  7. 05 May, 2006 1 commit
    • Sander Temme's avatar
      Add optional 'scheme://' prefix to ServerName directive. For · ef63a0d6
      Sander Temme authored
           'https', mod_http returns "https" for the ap_hook_http_scheme and
           DEFAULT_HTTPS_PORT for ap_hook_default_port.  This fixes Redirect
           responses to requests for directories without a trailing slash
           when httpd runs behind a proxy or offload device that processes
           SSL.  It also enables support for Subversion in that
           configuration.  This change is completely backwards compatible
           and passes the perl-framework.  Minor mmn bump because I add a
           field to server_rec. 
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399947 13f79535-47bb-0310-9956-ffa450edef68
      ef63a0d6
  8. 04 May, 2006 1 commit
  9. 03 May, 2006 2 commits
  10. 22 Apr, 2006 3 commits
  11. 18 Apr, 2006 2 commits
  12. 16 Apr, 2006 1 commit
  13. 14 Apr, 2006 3 commits
  14. 12 Apr, 2006 1 commit
  15. 10 Apr, 2006 3 commits
  16. 08 Apr, 2006 1 commit
  17. 02 Apr, 2006 2 commits
  18. 01 Apr, 2006 2 commits
  19. 31 Mar, 2006 2 commits
  20. 30 Mar, 2006 3 commits
  21. 13 Mar, 2006 1 commit
  22. 05 Mar, 2006 1 commit
  23. 28 Feb, 2006 1 commit
  24. 27 Feb, 2006 1 commit
  25. 25 Feb, 2006 1 commit
  26. 23 Feb, 2006 1 commit