trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From osch...@apache.org
Subject trafficserver git commit: TS-3607: ats_pagespeed make error
Date Sun, 17 May 2015 20:14:47 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 05fd0d780 -> 110b99ab1


TS-3607: ats_pagespeed make error


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/110b99ab
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/110b99ab
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/110b99ab

Branch: refs/heads/master
Commit: 110b99ab11e52689820ca10c4d9969e93f4d9e41
Parents: 05fd0d7
Author: Otto van der Schaaf <oschaaf@we-amp.com>
Authored: Fri May 15 01:19:38 2015 +0200
Committer: Otto van der Schaaf <oschaaf@we-amp.com>
Committed: Fri May 15 01:20:37 2015 +0200

----------------------------------------------------------------------
 plugins/experimental/ats_pagespeed/README.md        | 15 ++++++++-------
 plugins/experimental/ats_pagespeed/ats_pagespeed.cc |  4 ++++
 2 files changed, 12 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/110b99ab/plugins/experimental/ats_pagespeed/README.md
----------------------------------------------------------------------
diff --git a/plugins/experimental/ats_pagespeed/README.md b/plugins/experimental/ats_pagespeed/README.md
index 6c4ff15..c5171d5 100644
--- a/plugins/experimental/ats_pagespeed/README.md
+++ b/plugins/experimental/ats_pagespeed/README.md
@@ -3,7 +3,7 @@
 
 Apache Traffic Server web content optimization plugin powered by Google PageSpeed
 
-http://www.atsspeed.com/
+http://www.atspagespeed.com/
 
 To build, a simple 'make' should work. Use 'sudo make install' to install.
 Optionally, patching ATS with ethread.patch helps with eliminating latency that 
@@ -26,6 +26,11 @@ That folder is monitored, and changes to files in there are picked
 up immediately. A sample configuration:
 
 ```
+# Base configuration for the module, all host-specific configuration
+# will inherit. 
+pagespeed RewriteLevel CoreFilters
+# Mandatory FileCachePath setting. The path must exist and be read/write for the traffic_server
process.
+pagespeed FileCachePath /tmp/ats_pagespeed/
 # [host]
 [192.168.185.185]
 # Force traffic server to cache all origin responses
@@ -41,12 +46,8 @@ pagespeed EnableFilters prioritize_critical_css,rewrite_css
 pagespeed EnableFilters combine_javascript,combine_css
 ```
 
-It also expects this in records.config from ATS to function:
-`CONFIG proxy.config.url_remap.pristine_host_hdr INT 0`
-
 You can view debug output of the plugin using `traffic_server -T ".*speed.*"`
 
-The current state compiles against PSOL 1.7.30.4-beta.
-Please note the this plugin will generate asserts when build against
-the debug version of mps (option->Merge from a different thread).
+The current state compiles against PSOL 1.9.32.3-stable
+
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/110b99ab/plugins/experimental/ats_pagespeed/ats_pagespeed.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/ats_pagespeed/ats_pagespeed.cc b/plugins/experimental/ats_pagespeed/ats_pagespeed.cc
index 81fdab2..2ca0a24 100644
--- a/plugins/experimental/ats_pagespeed/ats_pagespeed.cc
+++ b/plugins/experimental/ats_pagespeed/ats_pagespeed.cc
@@ -85,6 +85,10 @@
 
 #include <dirent.h>
 
+#ifndef INT64_MIN
+#define INT64_MAX (9223372036854775807LL)
+#endif
+
 using namespace net_instaweb;
 
 static AtsProcessContext *ats_process_context;


Mime
View raw message