Commit Graph

499 Commits

Author SHA1 Message Date
Jeff Kaufman 888265b36a Merge pull request #393 from pagespeed/jefftk-loop-headers
ngx-list-iterator: Make it easier to iterate over headers.  Fixes #359.
2013-05-29 11:28:31 -07:00
Jeff Kaufman 6da81d760d ngx-list-iterator: Make it easier to iterate over headers. Fixes #359. 2013-05-29 13:43:35 -04:00
Otto van der Schaaf 08cc94bdb3 Merge pull request #391 from pagespeed/oschaaf-keepalive-test-more
keepalive-tests: add more keepalive tests
2013-05-29 08:14:55 -07:00
Otto van der Schaaf e010be17a9 keepalive-tests: add more keepalive tests
- beacon get requests
- beacon post requests
- requests on /ngx_pagespeed_static
- requests on .pagespeed. resources
2013-05-29 17:09:04 +02:00
Jeff Kaufman a898bad02d Merge pull request #389 from pagespeed/oschaaf-keepalive-test
keepalive-test: Test that we handle keep-alive requests OK
2013-05-28 10:42:13 -07:00
Otto van der Schaaf 8e1cbbf967 keepalive-test: Test that we handle keep-alive requests OK
Add a keepalive test which is repeated 100 times, with us both
behind the gzip filter and directly behind nginx's output filter.
The reason for that is that modules running after us can mask
our errors, this at least tests the most used ones.

This CL adds a failure to the expected failures, as currently,
this tests gives suspicious messages in nginx's error.log:
"client prematurely closed connection while sending response to client"

We should probably also test other code paths, like .pagespeed.
resources and the beacon with post requests as well. If this approach
is generally ok, I can proceed to add those as well.
2013-05-28 19:36:08 +02:00
Jeff Kaufman 4a4ba6592b readme: google pagespeed docs now include ngx_pagespeed 2013-05-28 11:08:03 -04:00
Jeff Kaufman b3624743e3 Merge pull request #385 from pagespeed/jefftk-quieter-startup
options: remove option parsing messages
2013-05-20 10:03:25 -07:00
Jeff Kaufman e8a284d2e7 options: remove option parsing messages 2013-05-18 14:50:31 -04:00
Jeff Kaufman b557a56613 readme: mark as release 1.5.27.3 2013-05-16 11:51:23 -04:00
Jeff Kaufman 67321228b1 Merge pull request #372 from pagespeed/jefftk-static-handler-hang
phase-handler: pass through NGX_AGAINs from ps_content_handler
2013-05-16 00:09:05 -07:00
Jeff Kaufman ad6afc0415 phase-handler: pass through NGX_AGAINs from ps_content_handler 2013-05-15 13:53:31 -04:00
Jeff Kaufman df6a761324 Merge pull request #363 from pagespeed/oschaaf-option-defaults
option defaults: defaults for inode-limit & aris
2013-05-13 08:30:54 -07:00
Jeff Kaufman 33b1a53f37 Merge pull request #362 from pagespeed/oschaaf-gzip-contenttype-charset
gzip: fix gzip contenttype matching when we include a charset
2013-05-13 08:15:57 -07:00
Otto van der Schaaf 0d6eed588a option defaults: defaults for inode-limit & aris
A small change, but it would be good to make it early on.
These changes should probably be mentioned in the release notes.

Set these as hardcoded defaults:

FileCacheInodeLimit 500000
AvoidRenamingIntrospectiveJavascript on

Fixes https://github.com/pagespeed/ngx_pagespeed/issues/284
2013-05-13 13:44:17 +02:00
Otto van der Schaaf 6e31ad982d gzip: fix gzip contenttype matching when we include a charset 2013-05-12 23:25:57 +02:00
Jeff Kaufman d19dc5e6c6 Merge pull request #340 from pagespeed/oschaaf-gzip-and-etags
gzip-and-etags: prevent gzip from clearing our weak etags
2013-05-10 10:09:49 -07:00
Jeff Kaufman 6d01bcfe79 Merge pull request #357 from pagespeed/oschaaf-wget-204-no-keepalive
wget and 204 responses: disable keepalive
2013-05-10 07:35:39 -07:00
Jeff Kaufman c0c5d70a6b Merge pull request #304 from chaizhenhua/Fixed-phase
Fixed content handler phase
2013-05-10 07:34:29 -07:00
Jeff Kaufman 6e1ab54c6b Merge pull request #358 from pagespeed/oschaaf-serf-force-threaded
serf: force threaded fetches
2013-05-10 05:25:22 -07:00
Otto van der Schaaf fb637ae5ea serf: force threaded fetches 2013-05-10 13:23:05 +02:00
Otto van der Schaaf 89a4c2e572 wget 204: disable keepalive instead of waiting a second in tests 2013-05-10 12:06:33 +02:00
chaizhenhua 9c09f92c51 Fixed content handler phase
process return value in the same way as core_content_phase
2013-05-10 11:05:40 +08:00
Jeff Kaufman 3a01a398e2 Merge pull request #355 from pagespeed/oschaaf-native-fetcher-ipaddress-lookup
native-fetcher: bypass the resolver for ipv4 addresses
2013-05-09 09:47:27 -07:00
Otto van der Schaaf aaad1c124c native-fetcher: bypass the resolver for ipv4 addresses
ipv6 support would be nice too, but would require other code to be
updated to that as well. I created issue
https://github.com/pagespeed/ngx_pagespeed/issues/354 for that

Fixes https://github.com/pagespeed/ngx_pagespeed/issues/351
2013-05-09 17:01:28 +02:00
Jeff Kaufman 7509424226 Merge pull request #349 from pagespeed/oschaaf-native-fetcher-host-handling
native-fetcher: host header handling when no host header is given
2013-05-08 13:55:06 -07:00
Otto van der Schaaf c601c2707f native-fetcher: fix host header handling when no host header is given
When the host header is not explicitly set in the request headers that
are passed in, the native fetcher needs to derive it from the url.

Fixes https://github.com/pagespeed/ngx_pagespeed/issues/347
2013-05-08 22:51:31 +02:00
Jeff Kaufman 433bfa1549 Merge pull request #348 from pagespeed/oschaaf-rename-write-handler-response
style: prefix a few names with ps_
2013-05-08 07:51:01 -07:00
Otto van der Schaaf c2255f8b8a style: prefix a few names with ps_ 2013-05-08 10:54:26 +02:00
Jeff Kaufman f7f76b9ec6 Merge pull request #343 from pagespeed/oschaaf-static-handler-etag
static-handler-etag: emit an etag in responses from our static handler
2013-05-07 10:49:40 -07:00
Jeff Kaufman 59dfeb58b4 Merge pull request #344 from pagespeed/oschaaf-static-handler-fix-compression
static-handler: fix compression
2013-05-07 10:46:05 -07:00
Jeff Kaufman dd781df6a4 Merge pull request #346 from patschi/patch-3
Updated README.md: nginx-1.4.1 stable
2013-05-07 10:39:43 -07:00
Patschi f4ea0721dc Updated README.md: nginx-1.4.1 stable
nginx-1.4.1 includes an important security fix
More details: http://nginx.org/en/CHANGES-1.4
2013-05-07 18:40:46 +03:00
Otto van der Schaaf 4feb5ae1ae static-handler: fix compression 2013-05-07 12:25:06 +02:00
Otto van der Schaaf 514117142f gzip-and-etags: prevent gzip from clearing our weak etags 2013-05-07 12:13:13 +02:00
Otto van der Schaaf 51ca3afb67 static-handler-etag: emit an etag in responses from our static handler
Fixes the etag part of https://github.com/pagespeed/ngx_pagespeed/issues/212
2013-05-07 12:00:14 +02:00
Jeff Kaufman 8c88593be9 Merge pull request #333 from pagespeed/oschaaf-fix-random-hangs
random-hangs: attempt to fix random hangs
2013-05-06 11:56:31 -07:00
Otto van der Schaaf 4777e0412c random-hangs: attempt to fix random hangs 2013-05-04 21:42:32 +02:00
Jeff Kaufman 8375ffafa1 Merge pull request #323 from pagespeed/jefftk-no-cache-beacon
beacons: serve as `Cache-Control: max-age=0, no-cache`
2013-05-02 14:55:04 -07:00
Jeff Kaufman e4f87fd7ef beacons: serve as Cache-Control: max-age=0, no-cache 2013-05-02 17:45:15 -04:00
Jeff Kaufman 61f32c0294 Merge pull request #322 from pagespeed/oschaaf-small-cleanup
small cleanup: stale comment, remove confusing log message
2013-05-02 13:33:11 -07:00
Otto van der Schaaf b73744d4ae small cleanup: stale comment, confusing log message 2013-05-02 22:24:28 +02:00
Jeff Kaufman 458fe68871 Merge pull request #321 from pagespeed/oschaaf-duplicate-headers
duplicate-headers: prevent some headers from being copied over
2013-05-02 12:48:58 -07:00
Jeff Kaufman c7ff530834 readme: update Page-Speed version 2013-05-02 13:59:38 -04:00
Otto van der Schaaf 72acd50b7e duplicate-headers: prevent some headers from being copied over
Amongst other headers, don't copy the "Connection" response-header
when we receive it from psol.

Combined with our config trick[1] to prevent add_header from setting
any other headers should fix

[1] location ~ ".pagespeed.([a-z].)?[a-z]{2}.[^.]{10}.[^.]+" {
add_header "" "";
}
2013-05-02 17:40:54 +02:00
Jeff Kaufman ec95367677 copy_includes -> prepare_psol 2013-05-01 13:44:33 -04:00
Jeff Kaufman 7f58b6ff11 readme: on some systems no .zip suffix 2013-04-29 11:11:52 -04:00
Jeff Kaufman 9f7978da27 readme: installation instructions 2013-04-29 11:08:23 -04:00
Jeff Kaufman 05fd02154c copy-includes: typo 2013-04-29 10:43:48 -04:00
Jeff Kaufman e0796407e9 Merge branch 'trunk-tracking' of github.com:pagespeed/ngx_pagespeed into trunk-tracking 2013-04-29 10:41:19 -04:00