﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1049	nginx stream module - listen not provided	baranyaib90@…		"Nginx stream module works without server's listen directive.
Does this makes any sense? :S

{{{
$ cat >nginx.conf
daemon off;
user nobody;
error_log stderr info;
events {
  worker_connections 1000;
}
stream
{
  upstream backends
  {
    server 10.0.0.3:21;
    server 10.0.0.4:21;
  }
  server
  {
    proxy_pass backends;
  }
}
$ ./nginx -p . -c nginx.conf &
[1] 61
[root@bf4de10c765d nginx]# 2016/08/12 08:53:32 [notice] 61#0: using the ""epoll"" event method
2016/08/12 08:53:32 [notice] 61#0: nginx/1.10.1
2016/08/12 08:53:32 [notice] 61#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
2016/08/12 08:53:32 [notice] 61#0: OS: Linux 3.13.0-39-generic
2016/08/12 08:53:32 [notice] 61#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2016/08/12 08:53:32 [notice] 61#0: start worker processes
2016/08/12 08:53:32 [notice] 61#0: start worker process 62

$ netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
$
}}}
 "	defect	closed	minor	1.11	nginx-module	1.11.x	fixed	stream	gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)	Linux linuxteam 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux	./configure --with-ipv6 --prefix=. --sbin-path=nginx --conf-path=nginx.conf --error-log-path=logs/error.log --pid-path=nginx.pid
