Skip to content

Commit bf5f285

Browse files
committed
updates license information for UTF8 validation logic references #294
1 parent e16972b commit bf5f285

File tree

3 files changed

+57
-4
lines changed

3 files changed

+57
-4
lines changed

COPYING

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,30 @@ freely, subject to the following restrictions:
116116

117117
L. Peter Deutsch
118118
119+
120+
****** UTF8 Validation logic (utf8_validation.hpp) ******
121+
utf8_validation.hpp is adapted from code originally written by Bjoern Hoehrmann
122+
<[email protected]>. See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for
123+
details.
124+
125+
The original license:
126+
127+
Copyright (c) 2008-2009 Bjoern Hoehrmann <[email protected]>
128+
129+
Permission is hereby granted, free of charge, to any person obtaining a copy
130+
of this software and associated documentation files (the "Software"), to deal
131+
in the Software without restriction, including without limitation the rights
132+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
133+
copies of the Software, and to permit persons to whom the Software is
134+
furnished to do so, subject to the following conditions:
135+
136+
The above copyright notice and this permission notice shall be included in
137+
all copies or substantial portions of the Software.
138+
139+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
140+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
141+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
142+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
143+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
144+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
145+
SOFTWARE.

changelog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ HEAD
33
for reporting. #294
44
- Eliminates spurious expired timers in certain error conditions. Thank you
55
Banaan for reporting. #295
6-
- Consolidates all bundled library licenses into the COPYING file.
6+
- Consolidates all bundled library licenses into the COPYING file. #294
77
- Updates bundled sha1 library to one with a cleaner interface and more
8-
straight-forward license.
8+
straight-forward license. Thank you lotodore for reporting and Evgeni Golov
9+
for reviewing. #294
910
- Re-introduces strands to asio transport, allowing `io_service` thread pools to
1011
be used (with some limitations).
1112
- Removes endpoint code that kept track of a connection list that was never used

websocketpp/utf8_validator.hpp

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1-
// Copyright (c) 2008-2009 Bjoern Hoehrmann <[email protected]>
2-
// See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
1+
/*
2+
* The following code is adapted from code originally written by Bjoern
3+
* Hoehrmann <[email protected]>. See
4+
* http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
5+
*
6+
* The original license:
7+
*
8+
* Copyright (c) 2008-2009 Bjoern Hoehrmann <[email protected]>
9+
*
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
16+
*
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
19+
*
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
* SOFTWARE.
27+
*/
328

429
#ifndef UTF8_VALIDATOR_HPP
530
#define UTF8_VALIDATOR_HPP

0 commit comments

Comments
 (0)