diff options
-rw-r--r-- | modules/README | 3 | ||||
-rw-r--r-- | test/check_chunked | 17 | ||||
-rw-r--r-- | test/cls.c | 15 | ||||
-rw-r--r-- | test/test-writev.c | 15 | ||||
-rw-r--r-- | test/test_find.c | 15 | ||||
-rw-r--r-- | test/test_parser.c | 15 | ||||
-rw-r--r-- | test/test_select.c | 15 | ||||
-rw-r--r-- | test/time-sem.c | 15 |
8 files changed, 107 insertions, 3 deletions
diff --git a/modules/README b/modules/README index 51624a67f7..eab7067e0d 100644 --- a/modules/README +++ b/modules/README @@ -45,11 +45,10 @@ proxy/ This houses the code for the proxy module for Apache. ssl/ + This directory houses code for OpenSSL functionality. test/ This directory houses modules which test various components of Apache. You should not compile these into a production server. -tls/ - This directory houses code for OpenSSL functionality. diff --git a/test/check_chunked b/test/check_chunked index 6a12167211..0dd4e365b5 100644 --- a/test/check_chunked +++ b/test/check_chunked @@ -1,5 +1,20 @@ #!/usr/bin/perl -w - +# +# Copyright 2000-2004 Apache Software Foundation +# +# 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. +# +# # This is meant to be used on the raw output of an HTTP/1.1 connection # to check that the chunks are all correctly laid out. It's easiest # to use a tool like netcat to generate the output. This script diff --git a/test/cls.c b/test/cls.c index 91114a784c..c67a7cddb8 100644 --- a/test/cls.c +++ b/test/cls.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + #include <ctype.h> #include <dirent.h> #include <stdio.h> diff --git a/test/test-writev.c b/test/test-writev.c index 852c701766..a11418bbe8 100644 --- a/test/test-writev.c +++ b/test/test-writev.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + /* test-writev: use this to figure out if your writev() does intelligent things on the network. Some writev()s when given multiple buffers diff --git a/test/test_find.c b/test/test_find.c index e71a531804..c8155687ce 100644 --- a/test/test_find.c +++ b/test/test_find.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + /* This program tests the ap_find_list_item routine in ../main/util.c. * * The defines in this sample compile line are specific to Roy's system. diff --git a/test/test_parser.c b/test/test_parser.c index eef1be45cd..b6009621b1 100644 --- a/test/test_parser.c +++ b/test/test_parser.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + /* This program tests the ap_get_list_item routine in ../main/util.c. * * The defines in this sample compile line are specific to Roy's system. diff --git a/test/test_select.c b/test/test_select.c index 8c0a6a4363..d506e3003a 100644 --- a/test/test_select.c +++ b/test/test_select.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + /* This is just a quick test program to see how long a wait is * produced by a select loop with an exponential backoff. * diff --git a/test/time-sem.c b/test/time-sem.c index 89ca2b7e43..bc5c290442 100644 --- a/test/time-sem.c +++ b/test/time-sem.c @@ -1,3 +1,18 @@ +/* Copyright 2000-2004 Apache Software Foundation + * + * 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. + */ + /* time-sem.c has the basics of the semaphores we use in http_main.c. It's intended for timing differences between various methods on an |