Skip to content
  1. Jan 27, 2002
    • 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. Jan 25, 2002
  3. Jan 24, 2002
  4. Jan 23, 2002
  5. Jan 21, 2002
  6. Jan 20, 2002
  7. Jan 19, 2002
    • 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. Jan 18, 2002
  9. Jan 17, 2002
  10. Jan 16, 2002
  11. Jan 14, 2002
  12. Jan 13, 2002
  13. Jan 12, 2002
  14. Jan 11, 2002
  15. Jan 10, 2002
  16. Jan 09, 2002
  17. Jan 08, 2002
  18. Jan 06, 2002
  19. Jan 04, 2002
  20. Jan 03, 2002
  21. Jan 02, 2002