Commit Graph

  • ece4aed17e Hook up controller tests. Steve Hill 2016-09-26 13:52:42 -04:00
  • a3e5f2d6e6 Fix path used to find clean_slate script for production builds. Joshua Marantz 2016-09-26 07:07:37 -04:00
  • 6cb4b8dde3 We need -lstdc++ to come after psol.a (#1273) (#1274) Jeff Kaufman 2016-09-24 16:04:52 -04:00
  • 25e0928eac Fix a ~5% flake in AprMemCacheTest when run at Google. It might be due to signals being sent & caught, and a slightly-too-tight timeout. Joshua Marantz 2016-09-23 23:54:29 -04:00
  • 142ae82d03 load-from-file: don't choke on very large files Jeff Kaufman 2016-09-23 19:44:55 -04:00
  • 1fee1305c3 tests: improve cache cleaning Jeff Kaufman 2016-09-23 19:42:48 -04:00
  • 6693ed3ee5 Add hint_preload_subresources as a way of enabling preload hinting. Maks Orlovich 2016-09-23 18:20:43 -04:00
  • d2af4962e6 load-from-file: config for testing load from file with a low size limit (#1268) Jeff Kaufman 2016-09-23 18:20:26 -04:00
  • 2a599ee97c Rename "ExperimentalRedisServer" to "RedisServer". Jeff Kaufman 2016-09-23 16:17:04 -04:00
  • 5733f5fb2d Add stall detection to CentralControllerRpcClient. Steve Hill 2016-09-23 16:14:53 -04:00
  • fb3ef57e90 Add a temporary dummy header file to make an internal refactoring process go more smoothly. Joshua Marantz 2016-09-23 11:15:55 -04:00
  • 6bbc3f22ba Rename the ExperimentalRedisServer option to RedisServer, since load tests and stress tests were ok. Jeff Kaufman 2016-09-23 09:32:17 -04:00
  • a458199863 Add redirect for /install Jeff Kaufman 2016-09-23 09:00:29 -04:00
  • 45a295ed45 verify that PSOL_BINARY_URL is set properly on release branches Jeff Kaufman 2016-09-23 08:44:54 -04:00
  • d7effbef19 strip-subresource-hints: respect preserve with rel=preload, use href and not src Jeff Kaufman 2016-09-23 08:44:18 -04:00
  • 3607c98d20 Start migrating off of StringPiece::ends_with/starts_with and using our new standard functions strings::StartsWith and strings::EndsWith. Joshua Marantz 2016-09-22 10:27:31 -04:00
  • 453df76095 'install' doesn't exist as an 'apachectl' command... use 'stop' instead. Joshua Marantz 2016-09-21 19:14:29 -04:00
  • 848b516c3b Put a target 'apache_debug_test' where travis can see it. Joshua Marantz 2016-09-21 15:02:10 -04:00
  • b45429d1ec When the cache is configured to be uncompressed, make sure we unzip compressed payloads, which sometimes show up on the web even when we don't ask for compression from an origin. Joshua Marantz 2016-09-21 14:57:04 -04:00
  • 2a014ad881 Make QueuedExpensiveOperationController re-entrant with callbacks. Steve Hill 2016-09-21 12:22:20 -04:00
  • 7fa8e2c7c6 Hook up the client side part of the CentralController. This will actually cause gRPC stuff to happen if the CentralControllerPort is set. Steve Hill 2016-09-21 09:52:19 -04:00
  • b997d79ea7 install: add script to install nginx_pagespeed (#1263) Jeff Kaufman 2016-09-21 07:48:03 -04:00
  • 0baa230bd7 Add default setting for whether to test with a controller port. (#1278) Joshua Marantz 2016-09-20 15:42:47 -04:00
  • 57509076c4 Factor out a separate round of tests for the controller, which should not be enabled during most of our tests, which should instead match the configuration used by default for our userbase. Joshua Marantz 2016-09-20 15:42:11 -04:00
  • 95af68692f Adding new items to ContextRegistry fails cleanly if shutdown. This gives it an atomic "obtain lock or fail" semantic. Steve Hill 2016-09-20 12:57:37 -04:00
  • 1118910228 the remote config test is in a separate script now, so run it from the master test script (#1260) Joshua Marantz 2016-09-19 19:25:24 -04:00
  • df1524a9ca Don't run RewriteDriver::Cleanup() in ServerContext::Shutdown(). Also only wait for one timeout max, no matter how many drivers are outstanding. Steve Hill 2016-09-19 17:23:27 -04:00
  • ea60b6616d Increase ref while running BoundedWaitFor, which prevents the Driver from being cleaned up while it is being waited. Steve Hill 2016-09-19 16:53:06 -04:00
  • d76bc188e6 Refactor test methods to avoid extra passing around of &message_handler_ everywhere. Joshua Marantz 2016-09-16 19:17:53 -04:00
  • 0030eb9916 Remove dead methods and field. Maks Orlovich 2016-09-16 17:10:24 -04:00
  • 1520e7dc68 Make AprMemCache use ExternalClusterSpec for configuration parsing. Egor Suvorov 2016-09-16 15:20:21 -04:00
  • 486620a3bf Add ContextRegistry, which will be used to track gRPC Contexts. Steve Hill 2016-09-16 13:35:04 -04:00
  • 761ac4c44f build-release-platform: make it work on the buildbots Jeff Kaufman 2016-09-16 13:13:40 -04:00
  • c10259b866 pagespeed-libraries: add angular-material 1.1.1 and incremental-dom 0.5.0 Jeff Kaufman 2016-09-16 13:11:10 -04:00
  • dfb46b933a Make the link headers we generate nopush Maks Orlovich 2016-09-16 11:08:35 -04:00
  • 1f644fe601 Add tests for Redis Cluster (disabled until Redis Cluster is supported) Egor Suvorov 2016-09-15 17:38:36 -04:00
  • 7584be2668 Work-around broken GCE Ubuntu repo hillsp 2016-09-15 16:23:11 -04:00
  • 4bc7455e93 Refactor connection handling in RedisCache Egor Suvorov 2016-09-15 12:11:03 -04:00
  • f75e891b74 We need -lstdc++ to come after psol.a (#1273) v1.11.33.4-beta release-1.11.33.4-beta Jeff Kaufman 2016-09-15 15:18:49 -04:00
  • e7dbc66f56 Suppress "Adding function to sequence after shutdown" message on release builds. Steve Hill 2016-09-15 14:51:59 -04:00
  • 1422358a25 Support UNIX sockets (unix:/foo) in ControllerPort option. Steve Hill 2016-09-15 14:38:05 -04:00
  • c274e370e0 Introduce ExternalServerSpec struct for uniformed management of Redis/Memcached server lists. Egor Suvorov 2016-09-15 12:08:40 -04:00
  • f67ac592b1 Validate dependencies before preload hinting, so we don't hint .pagespeed. resources which page won't actually have. Maks Orlovich 2016-09-15 13:49:29 -04:00
  • 89e35673ea Remove some unused, blink-specific methods from UserAgentMatcher. Maks Orlovich 2016-09-15 12:34:12 -04:00
  • 4e2eb3de85 Update protobuf path for non chromium version Steve Hill 2016-02-22 17:52:55 -05:00
  • c56611b6f4 Also look for headers in /url in mod_pagespeed tree (#1264) Maks Orlovich 2016-09-02 15:11:50 -04:00
  • 91c7e8eb7e Move GrpcServerTest implementation into the .cc. Steve Hill 2016-09-15 10:29:03 -04:00
  • 7e25a0dc13 1.11.33.3 -> 1.11.33.4 Jeff Kaufman 2016-09-15 10:21:14 -04:00
  • 408b2d9f1b Fix race condition in RedisCacheTest.ShutDownDuringConnection Egor Suvorov 2016-09-14 12:29:46 -04:00
  • e755e27b56 Remove now-obsolete notion of prefetch mechanism: It didn't cover the one way that actually works, and of the mechanisms it reported only one was used, and only if enabled by an option that's not documented for MPS/NPS, and only for Safari and obsolete Chrome, and was using a mechanism that's likely to cause trouble. Maks Orlovich 2016-09-13 16:29:18 -04:00
  • 2c1c5aafe5 Remove experimental mobilization flags. Joshua Marantz 2016-09-13 16:22:53 -04:00
  • 28c9c63106 Work-around with before_install not before_script hillsp 2016-09-13 11:17:03 -04:00
  • 8e6d3d6fd1 Remove jcrowell from travis notifications hillsp 2016-09-13 11:07:18 -04:00
  • 61ad086eae Work-around broken GCE Ubuntu repo hillsp 2016-09-13 11:06:44 -04:00
  • 57ee946ca4 Add TcpConnectionForTesting class and utilize it in AprMemCacheTest for flushing Memcached between tests. Egor Suvorov 2016-09-13 10:47:04 -04:00
  • 4ca0483fc4 Remove some dead methods. Maks Orlovich 2016-09-13 10:42:29 -04:00
  • 61b3b95261 Fix some IWYU warnings Egor Suvorov 2016-09-12 16:50:36 -04:00
  • f1740e336b Match boringssl chromium-stable update Maks Orlovich 2016-09-12 15:16:18 -04:00
  • 1c68e89fc1 Allow IPRO requests to use the Central Controller. Steve Hill 2016-09-12 15:01:00 -04:00
  • c8f8aff23f Add GLOBAL_STATISTICS_URL variable (#1270) hillsp 2016-09-12 13:52:06 -04:00
  • 166712eb60 Remove flush early flow. It never worked in mod_pagespeed/ngx_pagespeed, and adds a lot of complexity due to how it's structure all over the place. More immediately, much of older code dealing with prefetching is used only by it. Maks Orlovich 2016-09-12 12:50:58 -04:00
  • dbdf8a9a56 Make a possible race less likely under valgrind by increasing the timeout during Serf tests. Joshua Marantz 2016-09-09 22:08:57 -04:00
  • 02fa852a4b Let gRPC pick the port instead of rolling random. Steve Hill 2016-09-09 18:21:20 -04:00
  • c633ec01a6 Test WorkBoundExpensiveOperationController treats -1 as unlimited. Steve Hill 2016-09-09 15:53:47 -04:00
  • d9027813a8 RpcHandlerTest.ClientAbortAfterWrite must wait for test completion. Steve Hill 2016-09-09 15:53:19 -04:00
  • 075cdb328e Improve RedisCache thread safety mechanisms. Egor Suvorov 2016-09-09 14:47:49 -04:00
  • 181aa66b65 Remove extra empty line from redis_cache_test.cc Egor Suvorov 2016-09-09 13:30:37 -04:00
  • 435c134451 Remove mobilize JS from the code base Joshua Marantz 2016-09-08 14:50:55 -04:00
  • 8d585f7508 Preload hinting: order nested stylesheets after their parent, before later resources. Maks Orlovich 2016-09-08 12:28:54 -04:00
  • 1a0eb2217c Replace various kStatisticsGroups with Statistics::kDefaultGroup Steve Hill 2016-09-08 11:19:47 -04:00
  • 37bd8ff493 Clear the stats structure to avoid valgrind errors. Joshua Marantz 2016-09-08 09:36:18 -04:00
  • e04f768d2c Get build_release_platform.sh to work on our workstations. Joshua Marantz 2016-09-08 08:01:50 -04:00
  • e42c631de6 Update libwebp to 0.5.1 Huibao Lin 2016-09-07 15:05:13 -04:00
  • 8899891a28 Add statistic counting permitted expensive operations. Steve Hill 2016-09-07 13:26:36 -04:00
  • b5517f68fe nginx: add example files used on ngxpagespeed.com * nginx.service: systemd configuration file * ngxpagespeed-com.conf: nginx configuration file * prepare_ngx_pagespeed_examples.sh: script to build /usr/local/nginx/html Jeff Kaufman 2016-09-07 09:44:38 -04:00
  • 0d2017f1b5 logos: update pagespeed and google logos to new versions Jeff Kaufman 2016-09-07 09:42:27 -04:00
  • 78171b260b caching: make documentation match code for checkpointing Jeff Kaufman 2016-09-07 09:38:36 -04:00
  • a50a541423 pagespeed-libraries: add angular_material 1.1.1 Jeff Kaufman 2016-09-07 09:37:44 -04:00
  • 13f46f71c1 Move the remote_config tests out to a separate test outside the smoke tests, simplifying debugging httpd with a default configuration by reducing the amount of unexpected requests flying around. Joshua Marantz 2016-09-07 09:00:42 -04:00
  • 76eeec5972 special-responses: fix for hanging sometimes on special responses (#1238) Otto van der Schaaf 2016-09-07 10:49:53 +02:00
  • 9920e286c5 send a content-type header with .webp in case that is not installed on the server echo the curl command used in resource_content_type_html.sh fix some inconsistent indentation in VirtualHost declarations Joshua Marantz 2016-09-06 22:52:20 -04:00
  • 3dc0dff6ea Refactor RedisCacheTest for centralized management of custom servers. Egor Suvorov 2016-09-06 17:12:58 -04:00
  • 7a8d0cfe20 Fix QueuedWorkerPool::Sequence::ShutDown not shutting down the sequence in a thread-safe way. Adds annotalysis and a couple of other minor locking fixes. Steve Hill 2016-09-06 17:12:32 -04:00
  • 08ed3dc95a Make start_background_server.sh faster and refactor shell utils. Egor Suvorov 2016-09-06 15:48:54 -04:00
  • 2d24ec68f1 Additional suppressions for new RE2 (#1266) hillsp 2016-09-06 10:07:40 -04:00
  • 76ed6ef9bc Use check_stat_op in apache_debug_gzip_test. This prevents a break in ModPagespeedFetchWithGzip if prior tests run. Steve Hill 2016-09-02 18:49:38 -04:00
  • 36c62c91fe Add missing include dir for PSOL build. Maks Orlovich 2016-09-02 15:39:39 -04:00
  • a64dbda708 Simplify this to only support current revision, based on feedback. Maks Orlovich 2016-09-02 15:15:25 -04:00
  • 269ed10ed5 Also look for headers in /url in mod_pagespeed tree (#1264) Maks Orlovich 2016-09-02 15:11:50 -04:00
  • 7181f0c8b9 Factor out tests that require deprecated vhost-inheritance of process-scope options, and thus generate warnings, into separate scripts with quaranteened config. Joshua Marantz 2016-09-02 14:35:58 -04:00
  • c78a18bc0e Pull out the InputInfo validation functions into a separate file, so I can call them for determining what to preload. (including file system metadata cache helpers) Maks Orlovich 2016-09-02 13:40:13 -04:00
  • 1188016590 Update to using Chromium from git (since there is no more SVN) Maks Orlovich 2016-09-02 11:15:12 -04:00
  • 5d3bede980 If a controller denies an operation, don't report failure. Steve Hill 2016-09-01 15:59:12 -04:00
  • 5daea16958 string-piece: replace usages of clear(); string_view doesn't have that Jeff Kaufman 2016-09-01 15:06:50 -04:00
  • 94dde75a86 combine-ids: add configuration for system test (#1259) Jeff Kaufman 2016-09-01 15:04:03 -04:00
  • dc431423bd combine-css: add wildcard to let people combine stylesheets with ids Jeff Kaufman 2016-09-01 15:03:48 -04:00
  • 94d185ffa2 Clean up RedisCache. Egor Suvorov 2016-08-31 14:07:29 -04:00
  • 7de75011b6 Remove calls to StringPiece::clear() by instead assigning from an empty-constructed SP. Joshua Marantz 2016-08-30 15:39:26 -04:00
  • 4ae804df08 In apache_install_conf, recursively call make by sending in the $(OPTIONS) rather than passing down OPTIONS="$(OPTIONS)". Joshua Marantz 2016-08-30 15:38:39 -04:00
  • fc35237330 Collect all the options to be used when generating config files into Makefile variable OPTIONS, rather than having a separate Makefile variable for each option. Joshua Marantz 2016-08-30 09:33:45 -04:00