httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_protocol.c
Date Mon, 06 Nov 2000 20:43:24 GMT
rbb         00/11/06 12:43:23

  Modified:    src/main http_protocol.c
  Log:
  ap_send_fd should not be sending an EOS bucket, so we should remove any
  trace of that possibility from the code.  First of all, there is nothing
  that says you can only send one file bucket in a response, and second,
  even if a handler sends a file, nothing says that it can't add text before
  or after it too.
  
  Revision  Changes    Path
  1.227     +0 -5      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.226
  retrieving revision 1.227
  diff -u -r1.226 -r1.227
  --- http_protocol.c	2000/11/04 01:30:37	1.226
  +++ http_protocol.c	2000/11/06 20:43:19	1.227
  @@ -2763,11 +2763,6 @@
       b = ap_bucket_create_file(fd, offset, len);
       AP_BRIGADE_INSERT_TAIL(bb, b);
   
  -    /* Hummm, is this the right place to insert eos? */
  -#if 0
  -    b = ap_bucket_create_eos();
  -    AP_BRIGADE_INSERT_TAIL(bb, b);
  -#endif
       rv = ap_pass_brigade(r->output_filters, bb);
       if (rv != APR_SUCCESS) {
           *nbytes = 0; /* no way to tell how many were actually sent */
  
  
  

Mime
View raw message