comparison src/http/modules/perl/nginx.xs @ 298:30862655219e NGINX_0_5_19

nginx 0.5.19 *) Change: now the $request_time variable has millisecond precision. *) Change: the method $r->rflush of ngx_http_perl_module was renamed to the $r->flush. *) Feature: the $upstream_addr variable. *) Feature: the "proxy_headers_hash_max_size" and "proxy_headers_hash_bucket_size" directives. Thanks to Volodymyr Kostyrko. *) Bugfix: the files more than 2G could not be transferred using sendfile and limit_rate on 64-bit platforms. *) Bugfix: the files more than 2G could not be transferred using sendfile on 64-bit Linux.
author Igor Sysoev <http://sysoev.ru>
date Tue, 24 Apr 2007 00:00:00 +0400
parents 704622b2528a
children 7cf404023f50
comparison
equal deleted inserted replaced
297:df0fd0d43ed8 298:30862655219e
679 679
680 XSRETURN_EMPTY; 680 XSRETURN_EMPTY;
681 681
682 682
683 void 683 void
684 rflush(r) 684 flush(r)
685 CODE: 685 CODE:
686 686
687 ngx_http_request_t *r; 687 ngx_http_request_t *r;
688 ngx_buf_t *b; 688 ngx_buf_t *b;
689 689
694 XSRETURN_EMPTY; 694 XSRETURN_EMPTY;
695 } 695 }
696 696
697 b->flush = 1; 697 b->flush = 1;
698 698
699 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "$r->rflush"); 699 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "$r->flush");
700 700
701 (void) ngx_http_perl_output(r, b); 701 (void) ngx_http_perl_output(r, b);
702 702
703 XSRETURN_EMPTY; 703 XSRETURN_EMPTY;
704 704