mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06: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;
|
use constant HTTP_INSUFFICIENT_STORAGE => 507;
|
||||||
|
|
||||||
|
|
||||||
|
sub rflush {
|
||||||
|
my $r = shift;
|
||||||
|
|
||||||
|
$r->flush;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
__END__
|
__END__
|
||||||
|
|
||||||
|
@ -681,7 +681,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
rflush(r)
|
flush(r)
|
||||||
CODE:
|
CODE:
|
||||||
|
|
||||||
ngx_http_request_t *r;
|
ngx_http_request_t *r;
|
||||||
@ -696,7 +696,7 @@ rflush(r)
|
|||||||
|
|
||||||
b->flush = 1;
|
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);
|
(void) ngx_http_perl_output(r, b);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user