1. 31 Jul, 2000 2 commits
  2. 30 Jul, 2000 10 commits
  3. 29 Jul, 2000 14 commits
  4. 28 Jul, 2000 11 commits
  5. 27 Jul, 2000 3 commits
    • Jeff Trawick's avatar
      Don't try to process a connection when accept() failed. · 0f152df1
      Jeff Trawick authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85908 13f79535-47bb-0310-9956-ffa450edef68
      0f152df1
    • Bill Stoddard's avatar
      Win32: Revamp NT shutdown code. I think this shutdown code is pretty close · 5bdb5518
      Bill Stoddard authored
      to production ready. Introduce a two-phase shutdown. First phase is
      shutdown_pending which prevents new contexts from being queued to the
      AcceptEx completion port.  The server runs for a period (~1 second)
      in this state to enable threads to drain the completion port of active
      connections by handling the connections. This works very well on a busy
      server as the contexts are consumed quickly and completely (leaving non
      to cancel in the next phase).
      
      The next phase is the workers_may exit phase, which prevents threads
      from blocking on the completion port (especially important to prevent
      threads unblocking off of keep-alive connections from calling
      GetQueuedCompletionStatus).  One we enter this phase, all threads blocked on the
      port (we track the number carefully) are unblocked and allowed to exit.
      Then we cancel any pending i/o completion contexts on the listeners (those which
      were not consumed naturally in the shutdown phase). Then we reap the ABORTED
      completion packets off the port. (Possible to reap a few good "accepted"
      connections here also. Oh well...). Once we are done reaping completion packets,
      we release the start mutex which allows the new child (in a restart) to
      begin accepting connections.
      
      It is really REALLY important to not let multiple processes call
      GetQueuedCompletionStatus at the same time.  Results are unpredictable.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85907 13f79535-47bb-0310-9956-ffa450edef68
      5bdb5518
    • Ryan Bloom's avatar
      Add a patch for review. · c10e5bcd
      Ryan Bloom authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85906 13f79535-47bb-0310-9956-ffa450edef68
      c10e5bcd