File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2
2
use Test::Nginx::Socket::Lua::Stream;
3
3
# worker_connections(1014);
4
4
# no_nginx_manager();
5
- log_level(' debug' );
5
+ # log_level('debug');
6
6
# master_on();
7
7
8
8
repeat_each(2);
9
9
10
- plan tests => repeat_each() * (blocks() * 2 + 3 );
10
+ plan tests => repeat_each() * (blocks() * 2);
11
11
12
12
# no_diff();
13
13
# no_long_string();
Original file line number Diff line number Diff line change @@ -207,10 +207,11 @@ close: 1 nil
207
207
glob = glob .. " , init worker }here{ "
208
208
}
209
209
--- stream_server_config
210
+ set $ a '';
210
211
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
214
215
}
215
216
content_by_lua_block {
216
217
s = [[}content{ ]]
@@ -224,6 +225,7 @@ close: 1 nil
224
225
225
226
--- config
226
227
--- stream_response
228
+ }access{
227
229
} content{
228
230
glob: init by lua } here{ , init worker } here{
229
231
You can’t perform that action at this time.
0 commit comments