httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@locus.apache.org
Subject cvs commit: apache-2.0/src/ap ap_buckets_pipe.c
Date Sat, 23 Sep 2000 00:01:36 GMT
fanf        00/09/22 17:01:35

  Modified:    src/ap   ap_buckets_pipe.c
  Log:
  add a note about the lifetime of pipe buckets and the pipes they contain
  
  Revision  Changes    Path
  1.11      +8 -0      apache-2.0/src/ap/ap_buckets_pipe.c
  
  Index: ap_buckets_pipe.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/ap/ap_buckets_pipe.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- ap_buckets_pipe.c	2000/09/14 02:27:14	1.10
  +++ ap_buckets_pipe.c	2000/09/23 00:01:35	1.11
  @@ -103,6 +103,14 @@
        * XXX: We rely on a cleanup on some pool or other to actually
        * destroy the pipe. We should probably explicitly call apr to
        * destroy it instead.
  +     *
  +     * Note that typically the pipe is allocated from the request pool
  +     * so it will disappear when the request is finished. However the
  +     * core filter may decide to set aside the tail end of a CGI
  +     * response if the connection is pipelined. This turns out not to
  +     * be a problem because the core will have read to the end of the
  +     * stream so the bucket(s) that it sets aside will be the heap
  +     * buckets created by pipe_read() above.
        */
       b->type     = AP_BUCKET_PIPE;
       b->length   = -1;
  
  
  

Mime
View raw message