1. 03 May, 2018 1 commit
    • Yann Ylavic's avatar
      mod_slomem_shm: Handle a generation number when the slotmem size changes. · eb2c3f27
      Yann Ylavic authored
      Modifying the number of proxy balancers or balancer members on restart
      could have prevented the server to load, notably on Windows.  PR 62308.
      
      The generation number integrated in the SHM filename allows to create a
      new/resized SHM while the previous is still in use by previous generation
      gracefully shutting down (Windows prevents SHM/file to be removed in this
      case, but even on Unix(es) an unlinked file might not be re-openable while
      an inode exists). The generation number is added/incremented only if the
      size requirement changed, such that unrelated restarts continue to share
      SHMs between generations.
      
      The cleanup handling is also simplified because both the parent process and
      the Windows child process need to cleanup everything on exit. This translates
      to cleanup_slotmem() being always registered but in the dry load state
      (AP_SQ_MS_CREATE_PRE_CONFIG), for both cases still.
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1830800 13f79535-47bb-0310-9956-ffa450edef68
      eb2c3f27
  2. 02 May, 2018 4 commits
  3. 30 Apr, 2018 2 commits
  4. 29 Apr, 2018 4 commits
  5. 28 Apr, 2018 5 commits
  6. 23 Apr, 2018 2 commits
  7. 22 Apr, 2018 3 commits
  8. 21 Apr, 2018 7 commits
  9. 20 Apr, 2018 7 commits
  10. 19 Apr, 2018 4 commits
  11. 17 Apr, 2018 1 commit