hillsp
c8f8aff23f
Add GLOBAL_STATISTICS_URL variable ( #1270 )
2016-09-12 13:52:06 -04:00
Otto van der Schaaf
76eeec5972
special-responses: fix for hanging sometimes on special responses ( #1238 )
...
After calling ngx_http_filter_finalize_request return NGX_DONE
as we are still in pre-access phase. This bug shows up when the
"special" response is generated from, for example, php as opposed
to a static file.
Second part of the fix for
https://github.com/pagespeed/ngx_pagespeed/issues/1146
2016-09-07 10:49:53 +02:00
hillsp
2d24ec68f1
Additional suppressions for new RE2 ( #1266 )
2016-09-06 10:07:40 -04:00
Maks Orlovich
269ed10ed5
Also look for headers in /url in mod_pagespeed tree ( #1264 )
...
This is needed because the current GURL implementation there --- and hence
google_url.h needs an extra compat header that's there.
2016-09-02 15:11:50 -04:00
Jeff Kaufman
94dde75a86
combine-ids: add configuration for system test ( #1259 )
2016-09-01 15:04:03 -04:00
Joshua Marantz
9b47332d9c
allow sloppy exit ( #1258 )
...
* set up a test subdir with cc:public
* allow 'adding function to sequence' warnings on shutdown, without breaking the nginx debug tests
2016-08-29 17:06:26 -04:00
Egor Suvorov
4b7a7cc15e
Make NgxMessageHandler::FileMessage() add data into internal buffer as well ( #1255 )
2016-08-25 15:10:46 -04:00
Jeff Kaufman
f8f32efb97
Test shm checkpointing. Relies on shm checkpointing implementation in mod_pagespeed. ( #930 )
2016-08-23 07:46:20 -04:00
Otto van der Schaaf
3015cf0372
Allow processing of script variablies in more options ( #1239 )
...
All directory- and process- scoped options are allowed with this
change, when "ProcessScriptVariables all" is specified.
Option list compiled from:
https://docs.google.com/spreadsheets/d/1qJSUZqd2Te-4SDtm1Av6u-AckNv_oHEp1qdaUjNqZoM/edit#gid=0
2016-08-10 21:04:47 +02:00
Jeffrey Crowell
8644e5d83d
Update .travis.yml
2016-08-09 17:45:19 -04:00
Jeff Kaufman
7fd0f3ee2f
rewrite-options: don't turn on CoreFilters just because of query params ( #1228 )
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1190
2016-08-04 10:44:46 -07:00
Jeffrey Crowell
a919a926f4
nginx side of https://github.com/pagespeed/mod_pagespeed/issues/1371 ( #1235 )
...
nginx side of the change
https://github.com/pagespeed/mod_pagespeed/issues/1371
2016-08-03 13:09:22 -05:00
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