id summary reporter owner description type status priority milestone component version resolution keywords cc uname nginx_version 537 TE hop header not stripped when proxying pornel.net "[http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.5.1 TE is a hop-by-hop header] and [http://www.mnot.net/blog/2011/07/11/what_proxies_must_do proxies must remove it]. nginx forwards this header, even when it downgrades the request to HTTP/1.0. This causes an invalid HTTP/1.0 request to be generated. In practice this invalid combination [https://github.com/joyent/node/commit/9a3521c causes nodejs to respond with HTTP/1.1 response to HTTP/1.0 + TE request] and makes chunked encoding misinterpreted as part of regular body response, malforming the data. The setting: {{{ proxy_set_header TE """"; }}} makes forwarded requests correct. This should be the default behavior." defect closed minor nginx-core 1.5.x fixed Darwin .local 13.1.0 Darwin Kernel Version 13.1.0 "nginx version: nginx/1.5.12 built by clang 5.1 (clang-503.0.38) (based on LLVM 3.4svn) TLS SNI support enabled configure arguments: --prefix=/usr/local/Cellar/nginx/1.5.12 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx/1.5.12/bin/nginx --with-cc-opt='-I/usr/local/Cellar/pcre/8.34/include -I/usr/local/Cellar/openssl/1.0.1f/include' --with-ld-opt='-L/usr/local/Cellar/pcre/8.34/lib -L/usr/local/Cellar/openssl/1.0.1f/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-http_gzip_static_module"