mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
rename $r->rflush to $r->flush
This commit is contained in:
parent
e548a510c4
commit
6047281208
@ -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__
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user