1. 19 Sep, 2016 3 commits
  2. 17 Sep, 2016 9 commits
  3. 15 Sep, 2016 2 commits
  4. 13 Sep, 2016 4 commits
  5. 12 Sep, 2016 2 commits
  6. 11 Sep, 2016 2 commits
  7. 10 Sep, 2016 2 commits
  8. 09 Sep, 2016 2 commits
  9. 07 Sep, 2016 1 commit
  10. 06 Sep, 2016 2 commits
  11. 03 Sep, 2016 2 commits
  12. 01 Sep, 2016 1 commit
  13. 31 Aug, 2016 1 commit
  14. 30 Aug, 2016 3 commits
  15. 29 Aug, 2016 4 commits
    • Jacob Champion's avatar
      mpm_winnt: clear OVERLAPPED structs before reuse · 82764bd9
      Jacob Champion authored
      MSDN documentation states that
      
          Any unused members of [an OVERLAPPED] structure should always be
          initialized to zero before the structure is used in a function call.
          Otherwise, the function may fail and return ERROR_INVALID_PARAMETER.
      
      Prior to this patch, the internal state left over from previous
      overlapped I/O was passed into the next call. It's unclear what effect
      this might have, if any. (I have not personally witnessed an
      ERROR_INVALID_PARAMETER myself.)
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758310 13f79535-47bb-0310-9956-ffa450edef68
      82764bd9
    • Jacob Champion's avatar
      mpm_winnt: remove duplication of ap_process_connection · d64bc3e4
      Jacob Champion authored
      Further follow-up to the previous commit: now that we no longer patch a
      network bucket into the brigade, we can revert to calling
      ap_process_connection() directly instead of duplicating its logic.
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758309 13f79535-47bb-0310-9956-ffa450edef68
      d64bc3e4
    • Jacob Champion's avatar
      mpm_winnt: remove the AcceptEx data network bucket · 57ae9eb2
      Jacob Champion authored
      Follow-up to the prior commit: without an incoming data buffer, the
      custom network bucket code is now orphaned and we can remove it
      entirely. This has the added benefit that we are no longer using the
      internal OVERLAPPED.Pointer field, which is discouraged by the MSDN
      docs.
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758308 13f79535-47bb-0310-9956-ffa450edef68
      57ae9eb2
    • Jacob Champion's avatar
      mpm_winnt: remove 'data' AcceptFilter in favor of 'connect' · f6070d35
      Jacob Champion authored
      The 'data' AcceptFilter optimization instructs Windows to wait until
      data is received on a connection before completing the AcceptEx
      operation. Unfortunately, it seems this isn't performed atomically --
      AcceptEx "partially" accepts the incoming connection during the wait for
      data, leaving all other incoming connections in the accept queue. This
      opens the server to a denial of service.
      
      Since the fix for this requires a substantial rearchitecture (likely
      involving multiple outstanding calls to AcceptEx), disable the 'data'
      filter for now and replace it with 'connect', which uses the AcceptEx
      interface but does not wait for data.
      
      Users running prior releases of httpd on Windows should explicitly move
      to a 'connect' AcceptFilter in their configurations if they are
      currently using the default 'data' filter.
      
      Many thanks to mludha, Arthur Ramsey, Paul Spangler, and many others for
      their assistance in tracking down and diagnosing this issue.
      
      PR: 59970
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758307 13f79535-47bb-0310-9956-ffa450edef68
      f6070d35