comparison src/stream/ngx_stream.c @ 6607:c70b7f4537e1

Stream: variables and script. This is a port of corresponding http code with unrelated features excluded.
author Vladimir Homutov <vl@nginx.com>
date Mon, 04 Jul 2016 16:37:36 +0300
parents 2f41d383c9c7
children 7357abd1fa8c
comparison
equal deleted inserted replaced
6606:2f41d383c9c7 6607:c70b7f4537e1
228 return NGX_CONF_ERROR; 228 return NGX_CONF_ERROR;
229 } 229 }
230 } 230 }
231 } 231 }
232 232
233 if (ngx_stream_variables_init_vars(cf) != NGX_OK) {
234 return NGX_CONF_ERROR;
235 }
236
233 *cf = pcf; 237 *cf = pcf;
234 238
235 239
236 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_stream_conf_port_t)) 240 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_stream_conf_port_t))
237 != NGX_OK) 241 != NGX_OK)