Updated Branches: refs/heads/master 518e83808 -> 05b0af2ea
header_rewrite - added license info Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/05b0af2e Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/05b0af2e Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/05b0af2e Branch: refs/heads/master Commit: 05b0af2ea0babc8345c60f02ddd0284800db7368 Parents: 518e838 Author: Bryan Call <[email protected]> Authored: Fri Oct 19 12:57:52 2012 -0700 Committer: Bryan Call <[email protected]> Committed: Fri Oct 19 13:01:50 2012 -0700 ---------------------------------------------------------------------- plugins/experimental/header_rewrite/condition.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/condition.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/conditions.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/conditions.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/factory.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/factory.h | 17 +++++++++++++++ .../experimental/header_rewrite/header_rewrite.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/lulu.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/matcher.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/matcher.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/operator.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/operator.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/operators.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/operators.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/parser.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/parser.h | 17 +++++++++++++++ .../experimental/header_rewrite/regex_helper.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/regex_helper.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/resources.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/resources.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/ruleset.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/ruleset.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/statement.cc | 17 +++++++++++++++ plugins/experimental/header_rewrite/statement.h | 17 +++++++++++++++ plugins/experimental/header_rewrite/value.h | 17 +++++++++++++++ 25 files changed, 425 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/condition.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/condition.cc b/plugins/experimental/header_rewrite/condition.cc index 518345a..7e91dbd 100644 --- a/plugins/experimental/header_rewrite/condition.cc +++ b/plugins/experimental/header_rewrite/condition.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // condition.cc: Implementation of the condition base class // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/condition.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/condition.h b/plugins/experimental/header_rewrite/condition.h index 149642c..9410bd4 100644 --- a/plugins/experimental/header_rewrite/condition.h +++ b/plugins/experimental/header_rewrite/condition.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/conditions.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/conditions.cc b/plugins/experimental/header_rewrite/conditions.cc index 45dead8..08994de 100644 --- a/plugins/experimental/header_rewrite/conditions.cc +++ b/plugins/experimental/header_rewrite/conditions.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // conditions.cc: Implementation of the condition classes // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/conditions.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/conditions.h b/plugins/experimental/header_rewrite/conditions.h index 3338842..f99bbc0 100644 --- a/plugins/experimental/header_rewrite/conditions.h +++ b/plugins/experimental/header_rewrite/conditions.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Declarations for all conditionals / conditional values we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/factory.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/factory.cc b/plugins/experimental/header_rewrite/factory.cc index 0a89728..82326c8 100644 --- a/plugins/experimental/header_rewrite/factory.cc +++ b/plugins/experimental/header_rewrite/factory.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // factory.cc: Factory functions for operators, conditions and condition variables. // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/factory.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/factory.h b/plugins/experimental/header_rewrite/factory.h index 3301ce3..f222a45 100644 --- a/plugins/experimental/header_rewrite/factory.h +++ b/plugins/experimental/header_rewrite/factory.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/header_rewrite.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/header_rewrite.cc b/plugins/experimental/header_rewrite/header_rewrite.cc index ecfaebf..770a968 100644 --- a/plugins/experimental/header_rewrite/header_rewrite.cc +++ b/plugins/experimental/header_rewrite/header_rewrite.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // header_rewrite: YTS plugin to do header rewrites // -------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/lulu.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/lulu.h b/plugins/experimental/header_rewrite/lulu.h index 7452e49..29d6a45 100644 --- a/plugins/experimental/header_rewrite/lulu.h +++ b/plugins/experimental/header_rewrite/lulu.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/matcher.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/matcher.cc b/plugins/experimental/header_rewrite/matcher.cc index b520ab7..8b9641a 100644 --- a/plugins/experimental/header_rewrite/matcher.cc +++ b/plugins/experimental/header_rewrite/matcher.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // matcher.cc: Implementation of the condition classes // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/matcher.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/matcher.h b/plugins/experimental/header_rewrite/matcher.h index 3676a52..3f0a53e 100644 --- a/plugins/experimental/header_rewrite/matcher.h +++ b/plugins/experimental/header_rewrite/matcher.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/operator.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/operator.cc b/plugins/experimental/header_rewrite/operator.cc index d68cab3..e404be3 100644 --- a/plugins/experimental/header_rewrite/operator.cc +++ b/plugins/experimental/header_rewrite/operator.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // operator.cc: Implementation of the operator base class // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/operator.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/operator.h b/plugins/experimental/header_rewrite/operator.h index 4323f15..619f2af 100644 --- a/plugins/experimental/header_rewrite/operator.h +++ b/plugins/experimental/header_rewrite/operator.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // Public interface for creating all operators. Don't user the operator.h interface // directly! http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/operators.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/operators.cc b/plugins/experimental/header_rewrite/operators.cc index c5db93a..cac3f3c 100644 --- a/plugins/experimental/header_rewrite/operators.cc +++ b/plugins/experimental/header_rewrite/operators.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // operators.cc: implementation of the operator classes // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/operators.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/operators.h b/plugins/experimental/header_rewrite/operators.h index f85112c..0c765d4 100644 --- a/plugins/experimental/header_rewrite/operators.h +++ b/plugins/experimental/header_rewrite/operators.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/parser.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/parser.cc b/plugins/experimental/header_rewrite/parser.cc index b0289d6..ce8becb 100644 --- a/plugins/experimental/header_rewrite/parser.cc +++ b/plugins/experimental/header_rewrite/parser.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // parser.cc: implementation of the config parser // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/parser.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/parser.h b/plugins/experimental/header_rewrite/parser.h index 0d0aa46..9aba8c4 100644 --- a/plugins/experimental/header_rewrite/parser.h +++ b/plugins/experimental/header_rewrite/parser.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Interface for the config line parser http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/regex_helper.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/regex_helper.cc b/plugins/experimental/header_rewrite/regex_helper.cc index 578253c..4bfdb23 100644 --- a/plugins/experimental/header_rewrite/regex_helper.cc +++ b/plugins/experimental/header_rewrite/regex_helper.cc @@ -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. +*/ #include "regex_helper.h" bool http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/regex_helper.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/regex_helper.h b/plugins/experimental/header_rewrite/regex_helper.h index 6b43c31..5d5099a 100644 --- a/plugins/experimental/header_rewrite/regex_helper.h +++ b/plugins/experimental/header_rewrite/regex_helper.h @@ -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. +*/ #ifndef REGEX_HELPER_H #define REGEX_HELPER_H http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/resources.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/resources.cc b/plugins/experimental/header_rewrite/resources.cc index 1e1233e..02d256e 100644 --- a/plugins/experimental/header_rewrite/resources.cc +++ b/plugins/experimental/header_rewrite/resources.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // resources.cc: Implementation of the resources class. // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/resources.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/resources.h b/plugins/experimental/header_rewrite/resources.h index 91f9cf9..f89412c 100644 --- a/plugins/experimental/header_rewrite/resources.h +++ b/plugins/experimental/header_rewrite/resources.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/ruleset.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/ruleset.cc b/plugins/experimental/header_rewrite/ruleset.cc index 6dce0fb..7e85bb0 100644 --- a/plugins/experimental/header_rewrite/ruleset.cc +++ b/plugins/experimental/header_rewrite/ruleset.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // ruleset.cc: implementation of the ruleset class // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/ruleset.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/ruleset.h b/plugins/experimental/header_rewrite/ruleset.h index f0e13ad..96fdae3 100644 --- a/plugins/experimental/header_rewrite/ruleset.h +++ b/plugins/experimental/header_rewrite/ruleset.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Implement the classes for the various types of hash keys we support. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/statement.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/statement.cc b/plugins/experimental/header_rewrite/statement.cc index 918c910..45c24d0 100644 --- a/plugins/experimental/header_rewrite/statement.cc +++ b/plugins/experimental/header_rewrite/statement.cc @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // statement.cc: Implementation of the statement base class. // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/statement.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/statement.h b/plugins/experimental/header_rewrite/statement.h index e42149b..9b397dc 100644 --- a/plugins/experimental/header_rewrite/statement.h +++ b/plugins/experimental/header_rewrite/statement.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // // Base class for all Conditions and Operations. We share the "linked" list, and the http://git-wip-us.apache.org/repos/asf/trafficserver/blob/05b0af2e/plugins/experimental/header_rewrite/value.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/value.h b/plugins/experimental/header_rewrite/value.h index 81d7792..6cc24c8 100644 --- a/plugins/experimental/header_rewrite/value.h +++ b/plugins/experimental/header_rewrite/value.h @@ -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. +*/ ////////////////////////////////////////////////////////////////////////////////////////////// // Public interface for creating all values. //
