# HG changeset patch # User Sergey Kandaurov # Date 1432813229 -10800 # Node ID 8dd5cf697eae82d84716d7bad21f8bdc1945b28b # Parent 6c0a5903d0ae60d1f6381394ea42dfe114fcbda3 Tests: todo_alerts() with sendfile if any in proxied subrequests. Use of sendfile may be injected via TEST_NGINX_GLOBALS_HTTP producing alerts. diff --git a/proxy_ssi_body.t b/proxy_ssi_body.t --- a/proxy_ssi_body.t +++ b/proxy_ssi_body.t @@ -58,6 +58,7 @@ EOF $t->write_file('ssi.html', 'XX'); $t->write_file('test.html', 'YY'); +$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/; $t->run(); ###############################################################################