﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
709	Couldn't displays the google picture completely with the latest version Nginx	fir Befamous		"Hello, engineer:

  There is a problem confused me a long time about the Buffer for Picture Display. I show it here, and please forgive me I’m not familiar with the code and compiler language, I will describe the question as detailed as possible.
  When I use the nginx as a Reverse Proxy for google site, Searching the “Google Image” will display different effects with different version of nginx. Previously, I used the nginx-1.4.7 stable version, the picture from the google image could buffer very quickly in one second. But when I update the nginx to the nginx-1.7.8, some pictures from google always show as a Blank frame, or it will spend a long time to display the picture. For example, during using the nginx-1.7.8, if one page could show 12 pics of picture, actually, I only get the 10 of the 12 pics, another 2 pics is displayed as the Blank Picture (the reference picture is attached here). OR, if I want to see the following picture, the new version nginx could show the result immediately, after about half minute or 1 minute, it could display the picture as usual (or as the effect from nginx-1.4.7). However, when I use the nginx-1.4.7/1.4.6, the picture could be displayed completely through any away.
  For solving this problem, I have tried several version of the nginx in the same envirnoment. Unfortunately, except the nginx-1.4.7/1.4.6, the lasted versions of Nginx always appear the problem described above, including the nginx-1.5.12 which is released in the same time as nginx-1.4.7.
  I have set the nignx with the following modules :

----
./configure --prefix=/opt/nginx --with-pcre=../pcre-8.36 --with-openssl=../openssl-1.0.1j --with-zlib=../zlib-1.2.8 --with-http_ssl_module --with-http_gzip_static_module  --with-http_stub_status_module --with-http_spdy_module --with-ipv6

----
	And this is the mian line from nginx.conf:

----
user www-data;
worker_processes 1;
pid /run/nginx.pid;
daemon on;

events {
  worker_connections 5120;
}

http {

  sendfile on;
  tcp_nopush on;
  tcp_nodelay on;
  keepalive_timeout 65;
  types_hash_max_size 2048;

  variables_hash_bucket_size 128;
  variables_hash_max_size 1024;

  include /etc/nginx/mime.types;
  default_type application/octet-stream;

  access_log /var/log/nginx/access.log;
  error_log /var/log/nginx/error.log;


  gzip on;
  gzip_disable ""msie6"";

  gzip_vary on;
  gzip_proxied any;
  gzip_comp_level 6;
  gzip_min_length 1k;
  gzip_buffers 16 8k;
  gzip_http_version 1.1;
  gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  proxy_buffers 8 64k;
----
  The following is the captured image about the trial,
  The different nginx version I tried:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9EMlVCYkxRVk1tU1E/view?usp=sharing)]]
  Actually, I've tested several version.

  The display effect from nginx-1.4.7:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9ENUsxT3lIRjZhSFk/view?usp=sharing)]]
  The nginx-1.4.7 could work well, we could see the all pictures. 

  The display effect from nginx-1.5.12:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9EelBLenY1V2VoUm8/view?usp=sharing)]]
  But for nginx-1.5.12(the time released is same as nginx-1.4.7), some picture couldn't be showed out. 
  The display effect from nginx-1.5.12:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9EVDkyRlNHVXdnUW8/view?usp=sharing)]]
  Normally, after 1 or a half minute later, the picture behind could be loaded.
 
  The display effect from nginx-1.7.8:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9EVDlERGtOa2tOVHc/view?usp=sharing)]]
  The nginx-1.7.8 also have this problem.

  The display effect from nginx-1.7.9:
  [[Image(https://drive.google.com/file/d/0B4uKV-AeSn9EMjZpTEZ1MEkzeGs/view?usp=sharing)]]
  And the latest one's effect for google image.
  (All the nginx version is tested in the same compiler environment.)
  
  Many thanks for your patient, and I am looking forward to your reply and suggestion :) 

Sincerely yours,
Fred"	defect	closed	minor		nginx-core	1.7.x	invalid		gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)	Linux localhost.localdomain 2.6.32-042stab094.8 #1 SMP Tue Dec 16 20:36:56 MSK 2014 i686 i686 i386 GNU/Linux	"nginx version: nginx/1.4.7
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --with-pcre=../pcre-8.36 --with-openssl=../openssl-1.0.1j --with-zlib=../zlib-1.2.8 --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_spdy_module --with-ipv6 --add-module=../ngx_http_google_filter_module --add-module=../ngx_http_substitutions_filter_module"
