httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Fri, 06 Jul 2001 18:41:59 GMT
stoddard    01/07/06 11:41:59

  Modified:    server   core.c
  Log:
  Add error message and return if we fail reading from a bucket in the
  core_outout_filter(). core_output_filter() is in need of a rewrite, it is
  getting quite crufty.
  
  Revision  Changes    Path
  1.25      +5 -0      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- core.c	2001/07/06 18:07:24	1.24
  +++ core.c	2001/07/06 18:41:56	1.25
  @@ -3176,6 +3176,11 @@
                          potential future problems... */
                       AP_DEBUG_ASSERT(AP_MIN_BYTES_TO_WRITE <=
                                       APR_BUCKET_BUFF_SIZE);
  +                    if (rv != APR_SUCCESS) {
  +                        ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
  +                                     "core_output_filter: Error reading from bucket.");
  +                        return rv;
  +                    }
                       apr_brigade_write(ctx->b, NULL, NULL, str, n);
                   }
                   apr_brigade_destroy(b);
  
  
  

Mime
View raw message