rename $r->rflush to $r->flush

This commit is contained in:
Igor Sysoev 2007-04-21 07:43:23 +00:00
parent e548a510c4
commit 6047281208
2 changed files with 9 additions and 2 deletions

View File

@ -92,6 +92,13 @@ use constant HTTP_GATEWAY_TIME_OUT => 504;
use constant HTTP_INSUFFICIENT_STORAGE => 507;
sub rflush {
my $r = shift;
$r->flush;
}
1;
__END__

View File

@ -681,7 +681,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
void
rflush(r)
flush(r)
CODE:
ngx_http_request_t *r;
@ -696,7 +696,7 @@ rflush(r)
b->flush = 1;
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "$r->rflush");
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "$r->flush");
(void) ngx_http_perl_output(r, b);