You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2011/11/15 18:12:14 UTC
svn commit: r1202307 - in /trafficserver/traffic/trunk/tools/http_load:
http_load.c merge_stats.pl port.h timers.c timers.h version.h
Author: bcall
Date: Tue Nov 15 17:12:14 2011
New Revision: 1202307
URL: http://svn.apache.org/viewvc?rev=1202307&view=rev
Log:
Added the apache license and created a NOTICE file
Modified:
trafficserver/traffic/trunk/tools/http_load/http_load.c
trafficserver/traffic/trunk/tools/http_load/merge_stats.pl
trafficserver/traffic/trunk/tools/http_load/port.h
trafficserver/traffic/trunk/tools/http_load/timers.c
trafficserver/traffic/trunk/tools/http_load/timers.h
trafficserver/traffic/trunk/tools/http_load/version.h
Modified: trafficserver/traffic/trunk/tools/http_load/http_load.c
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/http_load.c?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/http_load.c (original)
+++ trafficserver/traffic/trunk/tools/http_load/http_load.c Tue Nov 15 17:12:14 2011
@@ -1,29 +1,25 @@
-/* http_load - multiprocessing http test client
-**
-** Copyright © 1998,1999,2001 by Jef Poskanzer <je...@mail.acme.com>.
-** All rights reserved.
-**
-** Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions
-** are met:
-** 1. Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** 2. Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in the
-** documentation and/or other materials provided with the distribution.
-**
-** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-** SUCH DAMAGE.
-*/
+/** @file
+
+ A brief file description
+
+ @section license License
+
+ 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.
+ */
#ifdef linux
#include <sys/epoll.h>
Modified: trafficserver/traffic/trunk/tools/http_load/merge_stats.pl
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/merge_stats.pl?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/merge_stats.pl (original)
+++ trafficserver/traffic/trunk/tools/http_load/merge_stats.pl Tue Nov 15 17:12:14 2011
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# 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.
+
my $runs = 0;
my $fetches = 0;
my $conns = 0;
Modified: trafficserver/traffic/trunk/tools/http_load/port.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/port.h?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/port.h (original)
+++ trafficserver/traffic/trunk/tools/http_load/port.h Tue Nov 15 17:12:14 2011
@@ -1,4 +1,25 @@
-/* port.h - portability defines */
+/** @file
+
+ A brief file description
+
+ @section license License
+
+ 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.
+ */
#if defined(__FreeBSD__)
#define OS_FreeBSD
Modified: trafficserver/traffic/trunk/tools/http_load/timers.c
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/timers.c?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/timers.c (original)
+++ trafficserver/traffic/trunk/tools/http_load/timers.c Tue Nov 15 17:12:14 2011
@@ -1,29 +1,25 @@
-/* timers.c - simple timer routines
-**
-** Copyright © 1995,1998,2000 by Jef Poskanzer <je...@mail.acme.com>.
-** All rights reserved.
-**
-** Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions
-** are met:
-** 1. Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** 2. Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in the
-** documentation and/or other materials provided with the distribution.
-**
-** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-** SUCH DAMAGE.
-*/
+/** @file
+
+ A brief file description
+
+ @section license License
+
+ 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 <sys/types.h>
Modified: trafficserver/traffic/trunk/tools/http_load/timers.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/timers.h?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/timers.h (original)
+++ trafficserver/traffic/trunk/tools/http_load/timers.h Tue Nov 15 17:12:14 2011
@@ -1,29 +1,25 @@
-/* timers.h - header file for timers package
-**
-** Copyright © 1995,1998,1999,2000 by Jef Poskanzer <je...@mail.acme.com>.
-** All rights reserved.
-**
-** Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions
-** are met:
-** 1. Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** 2. Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in the
-** documentation and/or other materials provided with the distribution.
-**
-** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-** SUCH DAMAGE.
-*/
+/** @file
+
+ A brief file description
+
+ @section license License
+
+ 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 _TIMERS_H_
#define _TIMERS_H_
Modified: trafficserver/traffic/trunk/tools/http_load/version.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/http_load/version.h?rev=1202307&r1=1202306&r2=1202307&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/http_load/version.h (original)
+++ trafficserver/traffic/trunk/tools/http_load/version.h Tue Nov 15 17:12:14 2011
@@ -1,4 +1,25 @@
-/* version.h - version define for http_load */
+/** @file
+
+ A brief file description
+
+ @section license License
+
+ 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 _VERSION_H_
#define _VERSION_H_