Licensing: Changes for ASF license compliance (#1528)

* Update/add license banners
* Strip "Author: " comments
* Initialize NOTICE
This commit is contained in:
Otto van der Schaaf
2018-01-19 11:21:10 +01:00
committed by GitHub
parent c48ca9e990
commit 2e202e5c8d
36 changed files with 621 additions and 482 deletions
+17
View File
@@ -0,0 +1,17 @@
Apache ngx_pagespeed
Copyright 2018 The Apache Software Foundation
This product includes software developed at
- The Apache Software Foundation (http://www.apache.org/).
- Google Inc.
Codebase originally donated by Google Inc:
Copyright (C) 2010-2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
+18
View File
@@ -1,6 +1,24 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Since nginx build system doesn't normally do C++, there is no CXXFLAGS for us # Since nginx build system doesn't normally do C++, there is no CXXFLAGS for us
# to touch, and compilers are understandably unhappy with --std=c++11 on C # to touch, and compilers are understandably unhappy with --std=c++11 on C
# files. Hence, we hack the makefile to add it for just our sources. # files. Hence, we hack the makefile to add it for just our sources.
for ps_src_file in $PS_NGX_SRCS; do for ps_src_file in $PS_NGX_SRCS; do
ps_obj_file="$NGX_OBJS/addon/src/`basename $ps_src_file .cc`.o" ps_obj_file="$NGX_OBJS/addon/src/`basename $ps_src_file .cc`.o"
echo "$ps_obj_file : CFLAGS += --std=c++11" >> $NGX_MAKEFILE echo "$ps_obj_file : CFLAGS += --std=c++11" >> $NGX_MAKEFILE
+14 -12
View File
@@ -1,18 +1,20 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2016 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Unless required by applicable law or agreed to in writing,
# you may not use this file except in compliance with the License. # software distributed under the License is distributed on an
# You may obtain a copy of the License at # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# # KIND, either express or implied. See the License for the
# http://www.apache.org/licenses/LICENSE-2.0 # specific language governing permissions and limitations
# # under the License.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
function usage() { function usage() {
echo " echo "
+14 -12
View File
@@ -1,18 +1,20 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2016 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Unless required by applicable law or agreed to in writing,
# you may not use this file except in compliance with the License. # software distributed under the License is distributed on an
# You may obtain a copy of the License at # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# # KIND, either express or implied. See the License for the
# http://www.apache.org/licenses/LICENSE-2.0 # specific language governing permissions and limitations
# # under the License.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -e set -e
set -u set -u
+15 -16
View File
@@ -1,19 +1,21 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2013 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Converts pagespeed_libraries.conf from Apache-format to Nginx-format, # Converts pagespeed_libraries.conf from Apache-format to Nginx-format,
# supporting the canonicalize_javascript_libraries filter. # supporting the canonicalize_javascript_libraries filter.
# Inspired by https://github.com/apache/incubator-pagespeed-ngx/issues/532 # Inspired by https://github.com/apache/incubator-pagespeed-ngx/issues/532
@@ -23,9 +25,6 @@
# #
# Then have nginx include that configuration file and enable the filter # Then have nginx include that configuration file and enable the filter
# canonicalize_javascript_libraries. # canonicalize_javascript_libraries.
#
# Author: vid@zippykid.com (Vid Luther)
# jefftk@google.com (Jeff Kaufman)
URL="https://github.com/apache/incubator-pagespeed-mod/raw/master/" URL="https://github.com/apache/incubator-pagespeed-mod/raw/master/"
URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf" URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf"
+14 -12
View File
@@ -1,18 +1,20 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2016 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Unless required by applicable law or agreed to in writing,
# you may not use this file except in compliance with the License. # software distributed under the License is distributed on an
# You may obtain a copy of the License at # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# # KIND, either express or implied. See the License for the
# http://www.apache.org/licenses/LICENSE-2.0 # specific language governing permissions and limitations
# # under the License.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Usage: scripts/rebuild.sh # Usage: scripts/rebuild.sh
# #
+20 -17
View File
@@ -1,20 +1,23 @@
// Copyright 2010 Google Inc. /*
// * Licensed to the Apache Software Foundation (ASF) under one
// Licensed under the Apache License, Version 2.0 (the "License"); * or more contributor license agreements. See the NOTICE file
// you may not use this file except in compliance with the License. * distributed with this work for additional information
// You may obtain a copy of the License at * regarding copyright ownership. The ASF licenses this file
// * to you under the Apache License, Version 2.0 (the
// http://www.apache.org/licenses/LICENSE-2.0 * "License"); you may not use this file except in compliance
// * with the License. You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software *
// distributed under the License is distributed on an "AS IS" BASIS, * http://www.apache.org/licenses/LICENSE-2.0
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
// See the License for the specific language governing permissions and * Unless required by applicable law or agreed to in writing,
// limitations under the License. * software distributed under the License is distributed on an
// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// Author: jmarantz@google.com (Joshua Marantz) * KIND, either express or implied. See the License for the
// Author: sligocki@google.com (Shawn Ligocki) * specific language governing permissions and limitations
// Author: jefftk@google.com (Jeff Kaufman) * under the License.
*/
// TODO(jefftk): share more of this code with apache's log_message_handler // TODO(jefftk): share more of this code with apache's log_message_handler
+20 -17
View File
@@ -1,20 +1,23 @@
// Copyright 2010 Google Inc. /*
// * Licensed to the Apache Software Foundation (ASF) under one
// Licensed under the Apache License, Version 2.0 (the "License"); * or more contributor license agreements. See the NOTICE file
// you may not use this file except in compliance with the License. * distributed with this work for additional information
// You may obtain a copy of the License at * regarding copyright ownership. The ASF licenses this file
// * to you under the Apache License, Version 2.0 (the
// http://www.apache.org/licenses/LICENSE-2.0 * "License"); you may not use this file except in compliance
// * with the License. You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software *
// distributed under the License is distributed on an "AS IS" BASIS, * http://www.apache.org/licenses/LICENSE-2.0
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
// See the License for the specific language governing permissions and * Unless required by applicable law or agreed to in writing,
// limitations under the License. * software distributed under the License is distributed on an
// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// Author: jmarantz@google.com (Joshua Marantz) * KIND, either express or implied. See the License for the
// Author: sligocki@google.com (Shawn Ligocki) * specific language governing permissions and limitations
// Author: jefftk@google.com (Jeff Kaufman) * under the License.
*/
#ifndef LOG_MESSAGE_HANDLER_H_ #ifndef LOG_MESSAGE_HANDLER_H_
#define LOG_MESSAGE_HANDLER_H_ #define LOG_MESSAGE_HANDLER_H_
+15 -13
View File
@@ -1,21 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*
* Author: jefftk@google.com (Jeff Kaufman)
*/ */
#include "ngx_pagespeed.h" // Must come first, see comments in CollectHeaders. #include "ngx_pagespeed.h" // Must come first, see comments in CollectHeaders.
#include <unistd.h> //for usleep #include <unistd.h> //for usleep
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
// //
// Collects output from pagespeed and buffers it until nginx asks for it. // Collects output from pagespeed and buffers it until nginx asks for it.
// Notifies nginx via NgxEventConnection to call ReadCallback() when // Notifies nginx via NgxEventConnection to call ReadCallback() when
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2013 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#include "ngx_caching_headers.h" #include "ngx_caching_headers.h"
#include "ngx_list_iterator.h" #include "ngx_list_iterator.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2013 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#ifndef NGX_CACHING_HEADERS_H_ #ifndef NGX_CACHING_HEADERS_H_
#define NGX_CACHING_HEADERS_H_ #define NGX_CACHING_HEADERS_H_
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2014 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: oschaaf@we-amp.com (Otto van der Schaaf)
extern "C" { extern "C" {
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2014 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: oschaaf@we-amp.com (Otto van der Schaaf)
// //
// NgxEventConnection implements a means to send events from other threads to // NgxEventConnection implements a means to send events from other threads to
// nginx's event loop, and is implemented by a named pipe under the hood. // nginx's event loop, and is implemented by a named pipe under the hood.
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: x.dinic@gmail.com (Junmin Xiong)
// //
// - The fetch is started by the main thread. // - The fetch is started by the main thread.
// - Resolver event was hooked when a NgxFetch starting. It could // - Resolver event was hooked when a NgxFetch starting. It could
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: x.dinic@gmail.com (Junmin Xiong)
// //
// PageSpeed needs some way to talk to the internet and request resources. For // PageSpeed needs some way to talk to the internet and request resources. For
// example, if it's optimizing www.example.com/index.html and it sees html with // example, if it's optimizing www.example.com/index.html and it sees html with
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2014 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: kspoelstra@we-amp.com (Kees Spoelstra)
#include "ngx_gzip_setter.h" #include "ngx_gzip_setter.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2014 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: kspoelstra@we-amp.com (Kees Spoelstra)
/* /*
* NgxGZipSetter sets up gzip for pagespeed * NgxGZipSetter sets up gzip for pagespeed
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2013 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#include "ngx_list_iterator.h" #include "ngx_list_iterator.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2013 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
// //
// Simplifies iteration over nginx lists. // Simplifies iteration over nginx lists.
// //
+20 -14
View File
@@ -1,18 +1,24 @@
// Copyright 2013 Google Inc. /*
// * Licensed to the Apache Software Foundation (ASF) under one
// Licensed under the Apache License, Version 2.0 (the "License"); * or more contributor license agreements. See the NOTICE file
// you may not use this file except in compliance with the License. * distributed with this work for additional information
// You may obtain a copy of the License at * regarding copyright ownership. The ASF licenses this file
// * to you under the Apache License, Version 2.0 (the
// http://www.apache.org/licenses/LICENSE-2.0 * "License"); you may not use this file except in compliance
// * with the License. You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software *
// distributed under the License is distributed on an "AS IS" BASIS, * http://www.apache.org/licenses/LICENSE-2.0
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
// See the License for the specific language governing permissions and * Unless required by applicable law or agreed to in writing,
// limitations under the License. * software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Author: oschaaf@gmail.com (Otto van der Schaaf)
#include "ngx_message_handler.h" #include "ngx_message_handler.h"
+20 -14
View File
@@ -1,18 +1,24 @@
// Copyright 2013 Google Inc. /*
// * Licensed to the Apache Software Foundation (ASF) under one
// Licensed under the Apache License, Version 2.0 (the "License"); * or more contributor license agreements. See the NOTICE file
// you may not use this file except in compliance with the License. * distributed with this work for additional information
// You may obtain a copy of the License at * regarding copyright ownership. The ASF licenses this file
// * to you under the Apache License, Version 2.0 (the
// http://www.apache.org/licenses/LICENSE-2.0 * "License"); you may not use this file except in compliance
// * with the License. You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software *
// distributed under the License is distributed on an "AS IS" BASIS, * http://www.apache.org/licenses/LICENSE-2.0
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
// See the License for the specific language governing permissions and * Unless required by applicable law or agreed to in writing,
// limitations under the License. * software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Author: oschaaf@gmail.com (Otto van der Schaaf)
#ifndef NGX_MESSAGE_HANDLER_H_ #ifndef NGX_MESSAGE_HANDLER_H_
#define NGX_MESSAGE_HANDLER_H_ #define NGX_MESSAGE_HANDLER_H_
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
/* /*
* Usage: * Usage:
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#ifndef NGX_PAGESPEED_H_ #ifndef NGX_PAGESPEED_H_
#define NGX_PAGESPEED_H_ #define NGX_PAGESPEED_H_
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#include "ngx_rewrite_driver_factory.h" #include "ngx_rewrite_driver_factory.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#ifndef NGX_REWRITE_DRIVER_FACTORY_H_ #ifndef NGX_REWRITE_DRIVER_FACTORY_H_
#define NGX_REWRITE_DRIVER_FACTORY_H_ #define NGX_REWRITE_DRIVER_FACTORY_H_
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#include "ngx_rewrite_options.h" #include "ngx_rewrite_options.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
// Manage configuration for pagespeed. Compare to ApacheConfig. // Manage configuration for pagespeed. Compare to ApacheConfig.
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
#include "ngx_server_context.h" #include "ngx_server_context.h"
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: jefftk@google.com (Jeff Kaufman)
// Manage pagespeed state across requests. Compare to ApacheResourceManager. // Manage pagespeed state across requests. Compare to ApacheResourceManager.
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: x.dinic@gmail.com (Junmin Xiong)
extern "C" { extern "C" {
#include <ngx_http.h> #include <ngx_http.h>
+15 -12
View File
@@ -1,20 +1,23 @@
/* /*
* Copyright 2012 Google Inc. * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,
* * software distributed under the License is distributed on an
* Unless required by applicable law or agreed to in writing, software * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* distributed under the License is distributed on an "AS IS" BASIS, * KIND, either express or implied. See the License for the
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * specific language governing permissions and limitations
* See the License for the specific language governing permissions and * under the License.
* limitations under the License.
*/ */
// Author: x.dinic@gmail.com(Junmin Xiong)
// //
// Fetch the resources asynchronously in Nginx. The fetcher is called in // Fetch the resources asynchronously in Nginx. The fetcher is called in
// the rewrite thread. // the rewrite thread.
+15 -16
View File
@@ -1,22 +1,21 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2012 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: jefftk@google.com (Jeff Kaufman)
#
# #
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Runs pagespeed's generic system test and nginx-specific system tests. Not # Runs pagespeed's generic system test and nginx-specific system tests. Not
# intended to be run on it's own; use run_tests.sh instead. # intended to be run on it's own; use run_tests.sh instead.
# #
+17
View File
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# nginx_system_test.sh makes a few substitutions to pagespeed_test.conf.template # nginx_system_test.sh makes a few substitutions to pagespeed_test.conf.template
# file to generate @@TEST_TMP@@/pagespeed_test.conf # file to generate @@TEST_TMP@@/pagespeed_test.conf
+15 -15
View File
@@ -1,21 +1,21 @@
#!/bin/bash #!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Copyright 2013 Google Inc. # http://www.apache.org/licenses/LICENSE-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: jefftk@google.com (Jeff Kaufman)
# #
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Runs ngx_pagespeed system tests. # Runs ngx_pagespeed system tests.
# #
# Exits with status 0 if all tests pass. # Exits with status 0 if all tests pass.
+14 -14
View File
@@ -1,19 +1,19 @@
# Copyright 2013 Google Inc. # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # http://www.apache.org/licenses/LICENSE-2.0
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing,
# # software distributed under the License is distributed on an
# Unless required by applicable law or agreed to in writing, software # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# distributed under the License is distributed on an "AS IS" BASIS, # KIND, either express or implied. See the License for the
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # specific language governing permissions and limitations
# See the License for the specific language governing permissions and # under the License
# limitations under the License.
#
# Author: oschaaf@we-amp.com (Otto van der Schaaf)
# The first few suppressions can be found in other modules # The first few suppressions can be found in other modules
# and easily found when searched for, and seem false positives. # and easily found when searched for, and seem false positives.