Welcome! Log In Create A New Profile

Advanced

SPDY: failure loading large gzipped files

Jason Davies
February 03, 2013 07:00PM
I'm using nginx 1.3.11-9chl1~quantal1 from Chris Lea's PPA (which I
believe is using the latest SPDY patch, patch.spdy-60_1.3.11.txt).

Generate a large file containing random characters, e.g. using the
following Python script (~10MB):

import random
f = open("10m.html", "w")
f.write("\n".join(map(
lambda x: "".join(map(
lambda x: random.choice("0123456789abcdef"),
range(100)
)),
range(100000)
)))
f.close()

Ensure that gzip is on, and gzip_types contains the appropriate file
type (text/html in this case).

Chrome and Firefox both fail to completely load the file; they just hang
indefinitely after loading what appears to be around 1MB, though it's
hard to tell exactly from Chrome's Network tab.

Turning off gzip fixes the issue. If there's a way to selectively
disable gzip for SPDY requests, that would also be useful to know.

Thanks,
--
Jason Davies, http://www.jasondavies.com/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

SPDY: failure loading large gzipped files

Jason Davies 1066 February 03, 2013 07:00PM

Re: SPDY: failure loading large gzipped files

Valentin V. Bartenev 373 February 04, 2013 08:24AM

Re: SPDY: failure loading large gzipped files

Valentin V. Bartenev 474 February 18, 2013 12:38PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready