Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ You may obtain a copy of the License at

~~~

lib/wccp and lib/tsconfig developed by Network Geographics.
Copyright (C) 2010 Network Geographics, Inc.

~~~

WebSocket support developed by LinkedIn
Copyright (C) 2014 LinkedIn

Expand Down Expand Up @@ -92,8 +87,12 @@ Copyright (c) 2015-2016 Jason Kenny All Rights Reserved.
Folly: Facebook Open-source Library
https://github.com/facebook/folly


~~

yaml-cpp: A YAML parser and emitter in C++
https://github.com/jbeder/yaml-cpp

~~

fastlz: an ANSI C/C90 implementation of Lempel-Ziv 77 algorithm (LZ77) of lossless data compression.
https://github.com/ariya/FastLZ
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,7 @@ AC_CONFIG_FILES([
include/ts/apidefs.h
include/tscore/ink_config.h
src/wccp/Makefile
lib/fastlz/Makefile
lib/yamlcpp/Makefile
mgmt/Makefile
mgmt/api/Makefile
Expand Down
2 changes: 1 addition & 1 deletion iocore/cache/RamCacheCLFUS.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "P_Cache.h"
#include "I_Tasks.h"
#include "tscore/fastlz.h"
#include "fastlz/fastlz.h"
#ifdef HAVE_ZLIB_H
#include <zlib.h>
#endif
Expand Down
8 changes: 8 additions & 0 deletions lib/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
2020-02-02: Version 0.5.0

Minor speed improvement on the decompressor.
Prevent memory violation when decompressing corrupted input.

2020-01-10: Version 0.4.0

Only code & infrastructure clean-up, no new functionality.
2 changes: 1 addition & 1 deletion lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

SUBDIRS = . records
SUBDIRS = . records fastlz

if BUILD_PERL_LIB
SUBDIRS += perl
Expand Down
189 changes: 189 additions & 0 deletions lib/README.md

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions lib/fastlz/LICENSE.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FastLZ - Byte-aligned LZ77 compression library
Copyright (C) 2005-2020 Ariya Hidayat <ariya.hidayat@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

28 changes: 28 additions & 0 deletions lib/fastlz/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Makefile.am for fastlz
#
# 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 $(top_srcdir)/build/tidy.mk

AM_CPPFLAGS += -I$(abs_top_srcdir)/lib/fastlz

noinst_LIBRARIES = libfastlz.a

libfastlz_a_SOURCES = \
fastlz.h \
fastlz.cc
Loading