]> granicus.if.org Git - libevent/blob - LICENSE
Merge pull request #1315 from yogo1212/http_per_socket_bebcb
[libevent] / LICENSE
1 Libevent is available for use under the following license, commonly known
2 as the 3-clause (or "modified") BSD license:
3
4 ==============================
5 Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
6 Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
7
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions
10 are met:
11 1. Redistributions of source code must retain the above copyright
12    notice, this list of conditions and the following disclaimer.
13 2. Redistributions in binary form must reproduce the above copyright
14    notice, this list of conditions and the following disclaimer in the
15    documentation and/or other materials provided with the distribution.
16 3. The name of the author may not be used to endorse or promote products
17    derived from this software without specific prior written permission.
18
19 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 ==============================
30
31 Portions of Libevent are based on works by others, also made available by
32 them under the three-clause BSD license above.  The copyright notices are
33 available in the corresponding source files; the license is as above.  Here's
34 a list:
35
36 log.c:
37    Copyright (c) 2000 Dug Song <dugsong@monkey.org>
38    Copyright (c) 1993 The Regents of the University of California.
39
40 strlcpy.c:
41    Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
42
43 win32select.c:
44    Copyright (c) 2003 Michael A. Davis <mike@datanerds.net>
45
46 evport.c:
47    Copyright (c) 2007 Sun Microsystems
48
49 ht-internal.h:
50    Copyright (c) 2002 Christopher Clark
51
52 minheap-internal.h:
53    Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com>
54
55 ==============================
56
57 The arc4module is available under the following, sometimes called the
58 "OpenBSD" license:
59
60    Copyright (c) 1996, David Mazieres <dm@uun.org>
61    Copyright (c) 2008, Damien Miller <djm@openbsd.org>
62
63    Permission to use, copy, modify, and distribute this software for any
64    purpose with or without fee is hereby granted, provided that the above
65    copyright notice and this permission notice appear in all copies.
66
67    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
68    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
69    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
70    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
71    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
72    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
73    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
74
75 ==============================
76
77 The Windows timer code is based on code from libutp, which is
78 distributed under this license, sometimes called the "MIT" license.
79
80
81 Copyright (c) 2010 BitTorrent, Inc.
82
83 Permission is hereby granted, free of charge, to any person obtaining a copy
84 of this software and associated documentation files (the "Software"), to deal
85 in the Software without restriction, including without limitation the rights
86 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87 copies of the Software, and to permit persons to whom the Software is
88 furnished to do so, subject to the following conditions:
89
90 The above copyright notice and this permission notice shall be included in
91 all copies or substantial portions of the Software.
92
93 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99 THE SOFTWARE.
100
101 ==============================
102
103 The wepoll module is available under the following, sometimes called the
104 "FreeBSD" license:
105
106 Copyright 2012-2020, Bert Belder <bertbelder@gmail.com>
107 All rights reserved.
108
109 Redistribution and use in source and binary forms, with or without
110 modification, are permitted provided that the following conditions are
111 met:
112
113   * Redistributions of source code must retain the above copyright
114     notice, this list of conditions and the following disclaimer.
115
116   * Redistributions in binary form must reproduce the above copyright
117     notice, this list of conditions and the following disclaimer in the
118     documentation and/or other materials provided with the distribution.
119
120 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
121 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
122 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
123 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
124 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
125 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
126 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
127 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
128 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
129 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
130 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
131
132 ==============================
133
134 The ssl-client-mbedtls.c is available under the following license:
135
136 Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
137 SPDX-License-Identifier: Apache-2.0
138
139 Licensed under the Apache License, Version 2.0 (the "License"); you may
140 not use this file except in compliance with the License.
141 You may obtain a copy of the License at
142
143 http://www.apache.org/licenses/LICENSE-2.0
144
145 Unless required by applicable law or agreed to in writing, software
146 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
147 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
148 See the License for the specific language governing permissions and
149 limitations under the License.
150
151 This file is part of mbed TLS (https://tls.mbed.org)