httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Fri, 24 Aug 2001 20:38:28 GMT
jwoolley    01/08/24 13:38:28

  Modified:    modules/http http_protocol.c
  Log:
  Just a little extra commentary...
  
  Revision  Changes    Path
  1.356     +5 -3      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.355
  retrieving revision 1.356
  diff -u -d -u -r1.355 -r1.356
  --- http_protocol.c	2001/08/24 20:27:40	1.355
  +++ http_protocol.c	2001/08/24 20:38:27	1.356
  @@ -2468,9 +2468,11 @@
               apr_size_t len;
   
               if (apr_bucket_copy(ec, &foo) != APR_SUCCESS) {
  -                /* we assume here that if copy failed we can morph
  -                 * the bucket into a copyable one by reading it... normally
  -                 * copy won't return anything but APR_SUCCESS or APR_ENOTIMPL
  +                /* this shouldn't ever happen due to the call to
  +                 * apr_brigade_length() above which normalizes
  +                 * indeterminate-length buckets.  just to be sure,
  +                 * though, this takes care of uncopyable buckets that
  +                 * do somehow manage to slip through.
                    */
                   /* XXX: check for failure? */
                   apr_bucket_read(ec, &str, &len, APR_BLOCK_READ);
  
  
  

Mime
View raw message