1. 04 Nov, 2015 1 commit
  2. 03 Nov, 2015 3 commits
  3. 02 Nov, 2015 2 commits
  4. 01 Nov, 2015 2 commits
  5. 31 Oct, 2015 1 commit
  6. 30 Oct, 2015 6 commits
  7. 29 Oct, 2015 2 commits
  8. 28 Oct, 2015 4 commits
  9. 27 Oct, 2015 2 commits
  10. 26 Oct, 2015 6 commits
  11. 25 Oct, 2015 3 commits
  12. 24 Oct, 2015 3 commits
  13. 23 Oct, 2015 3 commits
  14. 22 Oct, 2015 2 commits
    • Yann Ylavic's avatar
      core: follow up to r1710095. · c1894f6d
      Yann Ylavic authored
      Simplify logic in check_pipeline(), and log unexpected errors.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710105 13f79535-47bb-0310-9956-ffa450edef68
      c1894f6d
    • Yann Ylavic's avatar
      core: Limit to ten the number of tolerated empty lines between request, · f00bacf3
      Yann Ylavic authored
      and consume them before the pipelining check to avoid possible response
      delay when reading the next request without flushing.
      
      Before this commit, the maximum number of empty lines was the same as
      configured LimitRequestFields, defaulting to 100, which was way too much.
      We now use a fixed/hard limit of 10 (DEFAULT_LIMIT_BLANK_LINES).
      
      check_pipeline() is changed to check for (up to the limit) and comsume the
      trailing [CR]LFs so that they won't be interpreted as pipelined requests,
      otherwise we would block on the next read without flushing data, and hence
      possibly delay pending response(s) until the next/real request comes in or
      the keepalive timeout expires.
       
      Finally, when the maximum number of empty line is reached in
      read_request_line(), or that request line does not contains at least a method
      and an (valid) URI, we can fail early and avoid some failure detected in
      further processing.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710095 13f79535-47bb-0310-9956-ffa450edef68
      f00bacf3