Jeff Kaufman
ed5a43ef72
rewrite-domains: add test configuration for rewriting static assets ( #1223 )
...
Needed for fixing https://github.com/pagespeed/mod_pagespeed/issues/1350
2016-08-02 11:46:20 -07:00
Jeff Kaufman
ee27b5bd7a
json: add content-type and cache-control for example json file ( #1224 )
2016-07-18 11:15:31 -04:00
Otto van der Schaaf
572f59299e
Check options->IsAllowed() before rewriting html. ( #1225 )
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1226
2016-07-15 20:41:19 +02:00
Otto van der Schaaf
ebe7c61f4f
Make ngx_pagespeed behave like mod_pagespeed with regard to Flushing ( #1217 )
...
This change makes ngx_pagespeed listen to the FollowFlushes option.
When set to on (=default), ngx_pagespeed will forward incoming flushes
to ProxyFetch. When writing output, we'll now also set the flush flag on
the buffers we are about to send downstream.
Companion to mps commit: https://github.com/pagespeed/mod_pagespeed/commit/02de03e825bbd1f8d4ad4e1a1bef5263a16f3857
2016-07-12 12:26:38 -04:00
Otto van der Schaaf
e542347a20
Fix for when there is only server-level configuration ( #1218 )
...
When there is no top-level configuration but only server configuration,
we don't have main options to set and consider. This prevents
a NULL dereference in that case. (Later on we'll writes out a message
about why we cannot startup with this configuration).
2016-07-06 16:13:05 +02:00
Otto van der Schaaf
b1d9fbf544
Fix segfault when there's no http{} block in nginx.conf ( #1221 )
...
Should fix https://github.com/pagespeed/ngx_pagespeed/issues/1220
2016-07-06 16:12:04 +02:00
Jeff Kaufman
44626a4121
url-valued-attributes: tests for mod_pagespeed/f2f0075
2016-06-24 16:54:23 -04:00
Joshua Marantz
271b0c1f15
set up a test subdir with cc:public ( #1215 )
2016-06-16 09:54:06 -04:00
hillsp
1bb10ec599
Suppress controller warnings in test, fix up kill signals ( #1210 )
...
* Suppress controller warnings in test, fix up kill signals
* Switch valgrind shutdown to QUIT
2016-06-10 14:54:49 -04:00
Jeffrey Crowell
c4fc99c5ae
README.md: fix link in travis badge
2016-06-08 13:06:25 -04:00
Jeffrey Crowell
4c09bac0c4
svn of depot_tools is going away, migrate to git. ( #1211 )
...
for some reason we were still using the svn for travis here, but git for everything else...
2016-06-08 13:05:22 -04:00
Maks Orlovich
03d69e53b1
Update for API change: kProcessScope is about to become kLegacyProcessScope ( #1205 )
...
The renaming is to make it clear that kProcessScopeStrict (aka what
ngx_pagespeed does for everything already) is what new code should be
using, rather than current kProcessScope/upcoming kLegacyProcessScope
which does weird backwards compatible things in mod_pagespeed.
2016-05-30 12:52:41 -04:00
Maks Orlovich
15c6f7c345
Make sure RewriteDriverFactory::default_options gets the top-level proces-scope options. ( #1203 )
...
Needed for ImageMaxRewritesAtOnce to work with latest revisions.
2016-05-20 10:07:24 -04:00
Joshua Marantz
d7f48d88c6
Pass the install-path into Makefile ( #1200 )
...
* Pass the install-path into Makefile, rather than having the Makefile
depend on PWD.
* Move the double-quotes be before the value, to be consistent with other
Makefiles.
2016-05-16 13:32:28 -04:00
Steve Hill
fd26b873e9
Remove stray -q on pgrep.
2016-05-13 17:47:09 -04:00
hillsp
d6c395151f
Fix nginx_system_test so that it doesn't wait for verify_nginx_release.sh ( #1199 )
...
or wait indefinitely if it can't kill nginx.
2016-05-13 16:06:38 -04:00
Joshua Marantz
dab6b8ac04
During system-tests, don't write into the source-controlled htdocs area. ( #1197 )
...
Instead, use a new (not-yet-committed) target in Makefile.tests to build
a mirror htdocs in test/tmp/root that sym-links the large readonly
section and deep copies the test areas for purge and flush tests.
2016-05-13 08:44:14 -04:00
hillsp
77cd95b552
Fix IPRO and missing Content-Length headers in 32-bit builds. ( #1196 )
2016-05-11 13:34:00 -04:00
Joshua Marantz
be7837507f
respect purge requests when serving ipro requests from ngx_pagespeed ( #1193 )
...
* respect purge requests when serving ipro requests from ngx_pagespeed
* Add TODO to share common base with ApacheFetch.
2016-05-11 11:08:04 -04:00
Jeffrey Crowell
7094df4c11
add build status indicator for trunk-tracking ( #1195 )
2016-05-11 07:56:34 -07:00
Nikolay Kolev
76bc257af6
Removed the redundant bracket. ( #1189 )
2016-05-05 14:44:59 -04:00
Jeffrey Crowell
3208d56aa4
add travis to trunk-tracking branch ( #1186 )
...
* add travis to trunk-tracking branch
2016-05-02 16:14:16 -04:00
hillsp
090ec03a68
System test updates for CentralControllerPort. ( #1182 )
2016-04-28 15:45:29 -04:00
Maks Orlovich
e885e02a3c
Fix build with recent nginx which lacks NGX_CONF_MULTI ( #1185 )
2016-04-26 15:37:26 -04:00
Jeffrey Crowell
6f5042020b
fix up the description in the run_tests.sh ( #1176 )
...
run_tests had the wrong invocation of the script in the comments. fix
that.
2016-04-11 16:52:02 -04:00
Jeff Kaufman
f3063e2daa
Companion to mps change to set s-maxage on unoptimized ipro resources ( #1171 )
2016-04-07 16:02:02 -04:00
Otto van der Schaaf
56ee9ff24e
Fix for async waits vs client aborts and HTTP/2 RST_FRAMES
...
This change makes nginx close the request when we receive a close
event or RST_STREAM while waiting for an async PSOL op to complete
by setting a read event handler, as inspired by the limit request
module from nginx.
Should fix https://github.com/pagespeed/ngx_pagespeed/issues/1146
2016-04-07 10:35:19 -04:00
hillsp
b290a4c8a3
Merge pull request #1170 from pagespeed/cheesy_115698600
...
Add grpc headers to search path.
2016-04-04 17:54:12 -04:00
Jeff Kaufman
297b4ab34b
handle additional warnings
2016-03-29 10:07:09 -04:00
Joshua Marantz
b975ae59df
Merge pull request #1164 from pagespeed/jmarantz-remove-cache-html
...
remove a no-longer-needed arg to ProxyFetchFactory::InitiatePropertyC…
2016-03-28 13:51:33 -04:00
Joshua Marantz
c0e917801d
remove a no-longer-needed arg to ProxyFetchFactory::InitiatePropertyCacheLookup
2016-03-28 13:42:28 -04:00
Maks Orlovich
a3bc2cae03
Merge pull request #1157 from pagespeed/morlovich-cpp11-on
...
Turn on C++11 for all compilers, not just clang.
2016-03-17 10:02:40 -04:00
Maks Orlovich
7fe4e09076
Turn on C++11 for all compilers, not just clang.
...
Explain why we do it via config.make better.
Remove partial workaround for config.make not invoked for dynamic modules,
nginx dev fixes the root issue, and the workaround is insufficient anyway.
2016-03-16 15:42:42 -04:00
Jeff Kaufman
ee20289863
Merge pull request #1156 from pagespeed/jefftk-psauxww
...
controller: don't fail tests when running in emacs
2016-03-15 17:05:10 -04:00
Jeff Kaufman
c3f2858e31
controller: don't fail tests when running in emacs
...
Apparently, when running in emacs and piped into another command, ps limits
it's output to COLUMNS making check_process_names fail. Telling ps to use
wide, wide output with 'ww' fixes this.
Additionally, use check_from so that if this test does fail we can debug
it better, seeing what grep was looking at.
2016-03-15 16:36:52 -04:00
Otto van der Schaaf
59005bec88
Merge pull request #1150 from pagespeed/oschaaf-trunk-tracking-issue-1148
...
NgxFetch: Log url and error when url parsing fails.
2016-03-11 14:53:00 +01:00
Otto van der Schaaf
6634754dba
NgxFetch: Log url and error when url parsing fails.
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1148
2016-03-11 14:34:24 +01:00
Jeff Kaufman
a9142f0003
Merge pull request #1105 from pagespeed/oschaaf-trunk-tracking-issue-1064
...
vary-header: Emit a single vary header in the IPRO flow
2016-03-08 06:21:46 -08:00
Jeff Kaufman
8efb831ba4
Support centralized process changes in github.com/pagespeed/mod_pagespeed/commit/9bf7523
2016-03-07 16:14:43 -05:00
huibaolin
fcbe51efaf
Merge pull request #1145 from pagespeed/huibao-webp
...
Add system tests for image format, quality, and response in IPRO
2016-03-07 11:41:53 -05:00
Kees Spoelstra
08e284f9cb
Strip subresource hints pagespeed automatic system test configuration
...
Corresponding changes for:
- pull https://github.com/pagespeed/mod_pagespeed/pull/1204
- issue Strip subresource hints #973 https://github.com/pagespeed/mod_pagespeed/issues/973
2016-03-07 10:50:59 -05:00
Huibao Lin
8582bab69c
Add system tests for image format, quality, and response in IPRO
2016-03-07 09:58:44 -05:00
Jeff Kaufman
5264647a65
Merge pull request #1139 from pagespeed/oschaaf-trunk-tracking-issue-1138
...
IPRO: Copy the cache control value to ensure a correct lifetime
2016-03-03 11:15:10 -05:00
Otto van der Schaaf
85d0db2550
IPRO: Copy the cache control value to ensure a correct lifetime
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1138
2016-03-02 23:42:36 +01:00
hillsp
8e25b58597
Merge pull request #1130 from pagespeed/cheesy_115114559
...
Update protobuf path for non chromium version
2016-02-23 15:07:37 -05:00
Steve Hill
6eee387802
Update protobuf path for non chromium version
2016-02-22 17:52:55 -05:00
huibaolin
2315173946
Merge pull request #1125 from pagespeed/huibao-webp
...
Allow varying on Accept header for ipro-for-browser.example.com
2016-02-19 15:54:52 -05:00
Huibao Lin
54bd8bf4f8
For backward compatibility, only allow varying on Accept header for ipro-for-browser.example.com
2016-02-18 11:29:27 -05:00
Jeffrey Crowell
60f91becb7
Merge pull request #1122 from pagespeed/oschaaf-trunk-tracking-issue-1120
...
Fix shutdown when ngx_pagespeed is completely disabled.
2016-02-17 10:29:39 -05:00
Jeffrey Crowell
d959f01848
Merge pull request #1115 from pagespeed/oschaaf-trunk-tracking-dynamic-modules
...
Support building ngx_pagespeed as a dynamic module
2016-02-16 11:00:53 -05:00