1. 27 Jan, 2002 1 commit
    • Brian Pane's avatar
      Added new functions ap_add_input_filter_handle() and · 03a24a2f
      Brian Pane authored
      ap_add_output_filter_handle()
      
      There are many places in the core modules where we do
      ap_add_input_filter() or ap_add_output_filter() on a
      hardcoded filter name (e.g., "CORE" or "BYTERANGE").
      This requires a string-to-filter mapping that wastes
      CPU time.  (Even though the string lookup uses a trie
      for speed, it still ranks as a big consumer of CPU time
      because of the large number of filters added per request.)
      
      The new ap_add_*_filter_handle() functions will allow
      us to skip the string-to-filter mapping in cases where
      the module adding the filter happens to have the
      ap_filter_rec_t* for the registered filter (e.g., because
      it's the same module that registered the filter in the
      first place).
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93039 13f79535-47bb-0310-9956-ffa450edef68
      03a24a2f
  2. 25 Jan, 2002 4 commits
  3. 24 Jan, 2002 2 commits
  4. 23 Jan, 2002 1 commit
  5. 21 Jan, 2002 1 commit
  6. 20 Jan, 2002 1 commit
  7. 19 Jan, 2002 1 commit
    • Justin Erenkrantz's avatar
      Input filtering prototype change: Socket blocking type should be · 15a3230e
      Justin Erenkrantz authored
      separate from the input filter mode type.
      
      We also no longer look at readbytes to determine the method of
      filter operation.  This makes the use of filters more obvious and
      allows a wider range of options for input filters modes.
      
      To start with, the new input filter modes are:
      
      AP_MODE_READBYTES (no more than *readbytes returned)
      AP_MODE_GETLINE (old *readbytes == 0 case)
      AP_MODE_EATCRLF (old AP_MODE_PEEK)
      AP_MODE_SPECULATIVE (will be used in a future ap_getline rewrite)
      AP_MODE_EXHAUSTIVE (old *readbytes == -1 case)
      AP_MODE_INIT (special case for NNTP over SSL)
      
      The block parameter is an apr_read_type_e: APR_BLOCK_READ, APR_NONBLOCK_READ
      
      This also allows cleanup of mod_ssl's handling in the getline case.
      
      Reviewed by:	Ryan Bloom (concept), Greg Stein (concept)
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92928 13f79535-47bb-0310-9956-ffa450edef68
      15a3230e
  8. 18 Jan, 2002 3 commits
  9. 17 Jan, 2002 3 commits
  10. 16 Jan, 2002 1 commit
  11. 14 Jan, 2002 1 commit
  12. 13 Jan, 2002 1 commit
  13. 12 Jan, 2002 1 commit
  14. 11 Jan, 2002 4 commits
  15. 10 Jan, 2002 6 commits
  16. 09 Jan, 2002 1 commit
  17. 08 Jan, 2002 3 commits
  18. 06 Jan, 2002 1 commit
  19. 04 Jan, 2002 2 commits
  20. 03 Jan, 2002 1 commit
  21. 02 Jan, 2002 1 commit