-print(ok); # this is send 2 bytes, log 14bytes
=
my $r = shift;
$r-send_http_header;
$r-print(); # this is send 0 byte,log 5bytes
=
please tell me why?
Your firend,
Wac
Dear all
ActivePerl Apache::ProxyPass Module have a bug,
13 lines
my %cfg = undef;
change it to
my %cfg;
undef %cfg;
Your Firend,
wac
;
open (FILE,log.txt);
print FILE $r-filename .\t. $r-bytes_sent . \n;
close FILE;
}
this handler can log file name for request , but $r-bytes_sent is 0 at
all time.
Your friend,
wac
;
open (FILE,log.txt);
print FILE $r-filename .\t. $r-bytes_sent . \n;
close FILE;
}
this handler can log file name for request , but $r-bytes_sent is 0 at
all time.
Your friend,
wac
-bytes_sent;
}
1;
=
this code print content of request file, but $r-bytes_sent print 0 at
all times.
Please tell me why and how to get this size.
Thanks for your help!
Your firend,
wac
-bytes_sent;
}
1;
=
this code print content of request file, but $r-bytes_sent print 0 at
all times.
Please tell me why and how to get this size.
Thanks for your help!
Your firend,
wac