perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@hyperreal.org
Subject cvs commit: modperl/src/modules/perl Apache.xs
Date Wed, 22 Sep 1999 16:24:49 GMT
dougm       99/09/22 09:24:48

  Modified:    .        Changes
               src/modules/perl Apache.xs
  Log:
  if $r->bytes_sent has not been calculated, then do so before returning
  the value
  
  Revision  Changes    Path
  1.348     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.347
  retrieving revision 1.348
  diff -u -r1.347 -r1.348
  --- Changes	1999/09/22 16:16:29	1.347
  +++ Changes	1999/09/22 16:24:40	1.348
  @@ -10,6 +10,9 @@
   
   =item 1.21_01-dev
   
  +if $r->bytes_sent has not been calculated, then do so before returning
  +the value.  thanks to Dirk Melchers for the spot
  +
   ensure that all -I directories printed by Apache::src actually exist
   
   don't assume $uri =~ /$path_info$/ in Apache::Registry/PerlRun
  
  
  
  1.79      +4 -0      modperl/src/modules/perl/Apache.xs
  
  Index: Apache.xs
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/Apache.xs,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- Apache.xs	1999/09/02 20:19:32	1.78
  +++ Apache.xs	1999/09/22 16:24:44	1.79
  @@ -1409,6 +1409,10 @@
       for(last=r; last->next; last=last->next)
           continue;
   
  +    if (last->sent_bodyct && !last->bytes_sent) {
  +	ap_bgetopt(last->connection->client, BO_BYTECT, &last->bytes_sent);
  +    }
  +
       RETVAL = last->bytes_sent;
   
       if(items > 1)
  
  
  

Mime
View raw message