1. 17 Jun, 2003 3 commits
  2. 16 Jun, 2003 6 commits
  3. 15 Jun, 2003 1 commit
  4. 13 Jun, 2003 4 commits
  5. 12 Jun, 2003 3 commits
  6. 11 Jun, 2003 2 commits
  7. 10 Jun, 2003 3 commits
  8. 07 Jun, 2003 5 commits
  9. 06 Jun, 2003 2 commits
  10. 05 Jun, 2003 5 commits
  11. 04 Jun, 2003 4 commits
  12. 03 Jun, 2003 2 commits
    • Greg Stein's avatar
      add Ben's streamy PROPFIND change · b8bbfc67
      Greg Stein authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100165 13f79535-47bb-0310-9956-ffa450edef68
      b8bbfc67
    • Greg Stein's avatar
      mod_dav improvement: make dav_method_propfind stream its response, · 098c5a23
      Greg Stein authored
      rather than cache every <response> object and send the whole 207 at once.
      
      Note:  this patch doesn't affect the mod_dav provider API at all.
      Providers still return property results in text-buffers, but mod_dav
      then streams them out immediately.
      
      Submitted by: Ben Collins-Sussman <sussman@collab.net>
      Reviewed by: gstein, jerenkrantz, sander
      
      * mod_dav.h (dav_walker_ctx): add a brigade field and a scratchpool field.
      
      * mod_dav.c (dav_send_one_response): new helper function to write a
          <DAV:response> into a brigade/filter.  this code has been factorized
          out of dav_send_multistatus.
      
        (dav_begin_multistatus): new factorized helper func; creates brigade
          and sends initial <multistatus> tag.
      
        (dav_send_multistatus): create brigade, call dav_begin_multistatus,
          and switch all ap_rputs calls to ap_fputs instead.  call
          dav_send_one_response when looping over response list.  use a
          subpool when iterating.
      
        (dav_method_propfind): initialize walker ctx's brigade.  initialize
          ctx's scratchpool as a subpool of r->pool.  Send a <multistatus> tag
          before calling the provider's walk() function, and a </multistatus>
          tag afterwards.
      
        (dav_stream_response): new function, originally based on
          dav_add_repsonse.  don't build linked list of responses in memory;
          just spew each response object into the brigade via
          dav_send_one_response().  take an incoming pool argument to do the
          temporary allocation and streaming.
      
        (dav_propfind_walker): pass ctx->scratchpool to dav_stream_response,
          and clear the pool when finished.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100164 13f79535-47bb-0310-9956-ffa450edef68
      098c5a23