File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22use Test::Nginx::Socket::Lua::Stream;
33# worker_connections(1014);
44# no_nginx_manager();
5- log_level(' debug' );
5+ # log_level('debug');
66# master_on();
77
88repeat_each(2);
99
10- plan tests => repeat_each() * (blocks() * 2 + 3 );
10+ plan tests => repeat_each() * (blocks() * 2);
1111
1212# no_diff();
1313# no_long_string();
Original file line number Diff line number Diff line change @@ -207,10 +207,11 @@ close: 1 nil
207207 glob = glob .. " , init worker }here{ "
208208 }
209209--- stream_server_config
210+ set $ a '';
210211 access_by_lua_block {
211- local s = ngx. var. a
212- s = s .. ' }access{\n'
213- ngx. var. a = s
212+ local s = ngx. var. a
213+ s = s .. ' }access{\n'
214+ ngx. var. a = s
214215 }
215216 content_by_lua_block {
216217 s = [[}content{ ]]
@@ -224,6 +225,7 @@ close: 1 nil
224225
225226--- config
226227--- stream_response
228+ }access{
227229} content{
228230glob: init by lua } here{ , init worker } here{
229231
You can’t perform that action at this time.
0 commit comments