Skip to content
  1. Aug 29, 2005
  2. Aug 28, 2005
  3. Aug 27, 2005
  4. Aug 26, 2005
  5. Aug 25, 2005
  6. Aug 24, 2005
    • Colm MacCarthaigh's avatar
      · f09a05ce
      Colm MacCarthaigh authored
      Implement "de-listening" in the worker MPM. Fixes PR28167.  Comments in CHANGES
      file also cover r239710-1. 
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239740 13f79535-47bb-0310-9956-ffa450edef68
      f09a05ce
    • Colm MacCarthaigh's avatar
      · 0599ddd8
      Colm MacCarthaigh authored
      Correct the function prototype/declaration 
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68
      0599ddd8
    • Colm MacCarthaigh's avatar
      · 1af8e063
      Colm MacCarthaigh authored
      Implement "de-listening" for graceful restarts with the prefork MPM. With this
      change;
      
        1.) httpd -k graceful sends SIGUSR1 to the parent pid, which in turn
            sends SIGUSR1 to all of the active children,
      
        2.) Active children each close their copy of listener fd's.
      
      This means that the listening sockets are freed for re-use. In the ordinary
      case, this makes no difference. However if for example admin changes "Listen
      80" to "Listen 81" in the config, this rev makes port 80 immediately available
      (no waiting for the graceful children to die).
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239711 13f79535-47bb-0310-9956-ffa450edef68
      1af8e063
    • Colm MacCarthaigh's avatar
      · 387a2feb
      Colm MacCarthaigh authored
      Provide a function for closing all of the listeners. 
      
        * This is useful for properly implementing a graceful stop and restart
          where we want child processess to be able to carry on serving a request 
          but "de-listen" from a port. So that another instance entirely can be 
          started in our place, or to unbind from a "Listen" directive an admin 
          has removed from the configuration.
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239710 13f79535-47bb-0310-9956-ffa450edef68
      387a2feb