﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
440	Nginx write content to client instead of 504 when fastcgi timeout expired in configuration	Zhe Yang		"I wrote a multi-thread fastcgi application which print http header, then sleep for 5 seconds before writing the actual data. Then I set fastcgi timeout to 4s in nginx.

When nginx's query get timeout, nginx closes the socket, and log timeout to the error log, but it write the http header to client."	defect	closed	minor		nginx-core		invalid			Linux laptop 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux	"nginx version: nginx/1.4.1
TLS SNI support enabled
configure arguments: --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --with-pcre-jit --with-debug --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-http_xslt_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=/build/nginx-n2G1NA/nginx-1.4.1/debian/modules/nginx-auth-pam --add-module=/build/nginx-n2G1NA/nginx-1.4.1/debian/modules/nginx-dav-ext-module --add-module=/build/nginx-n2G1NA/nginx-1.4.1/debian/modules/nginx-echo --add-module=/build/nginx-n2G1NA/nginx-1.4.1/debian/modules/nginx-upstream-fair --add-module=/build/nginx-n2G1NA/nginx-1.4.1/debian/modules/ngx_http_substitutions_filter_module"
