Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
526 commits
Select commit Hold shift + click to select a range
37f3405
Fix typo of SNI
masaori335 Feb 15, 2019
953cde6
s3_auth:fixed uncaught exception on invalid input
gtenev Feb 16, 2019
c2a9189
Frees disk_vols when volume create failed
scw00 Feb 18, 2019
5ad8eec
RecHttp: Convert protocol session pool to use views and MemArena.
SolidWallOfCode Feb 14, 2019
4e05b24
Adds websocket note for remap config
d2r Feb 18, 2019
0b39c1d
Fixes formatting
d2r Feb 18, 2019
0781e91
Build fix: Fix build issue for -O3 on CI.
SolidWallOfCode Feb 15, 2019
390ebe5
Build: Fix array bounds error under -O3.
SolidWallOfCode Feb 15, 2019
9f5396e
Adds logging around various config file loads
randall Jun 4, 2018
53fd833
Added TS_SSL_CLIENT_HELLO_HOOK and docs
dyrock Feb 4, 2019
d57057d
Refresh mgmt signal logic to remove possible memory issues.
SolidWallOfCode Oct 25, 2018
5b7ce5f
Diags: Make some methods virtual so they can be overridden for unit t…
SolidWallOfCode Feb 14, 2019
c83061d
LibRecord: Add unit tests.
SolidWallOfCode Feb 14, 2019
03cfef1
ink_inet: Fix family string printing, add IpAddr::isAnyAddr.
SolidWallOfCode Feb 15, 2019
2906f16
Optimize: rewrite getbyname_imm and getSRVbyname_imm as wrappers for …
oknet Feb 2, 2019
331d378
TextView: add overflow checking to svto_radix.
SolidWallOfCode Jan 17, 2019
b4f8d1c
Removing Lazy Buf Alloc from H1 Server session
Feb 18, 2019
3b0a6f0
rm unused func reset_read_buffer
Feb 19, 2019
837250c
Cleanup: Set SSL_OP_NO_TICKET in SSLInitServerContext()
masaori335 Feb 21, 2019
c811aea
Cleanup: Separate SSLStats and SSLDiags from SSLUtils
masaori335 Feb 21, 2019
b52c293
IpMap: Add move constructor.
SolidWallOfCode Feb 19, 2019
4266403
set thread affinity using type info
duke8253 Feb 21, 2019
ac25c6c
Added connect_end to the slow log report
bryancall Feb 22, 2019
0be4e73
MIMEScanner: Make MIMEScanner a class, not a POD with free functions.
SolidWallOfCode Feb 6, 2019
d9dc0f4
Implement nbf claim in Uri Signing Plugin
Feb 13, 2019
b4e5319
Cleanup: remove duplicated SSL_CTX_set_tlsext_status_cb calls for OCS…
masaori335 Feb 20, 2019
6565396
HdrHeap default size unit test fix.
gtenev Feb 25, 2019
902d5ad
Ignore test_librecords
masaori335 Feb 26, 2019
c15daac
IP support: Make IpAddr constexpr constructible, define min/max addre…
SolidWallOfCode Feb 23, 2019
fdf7688
Rewrite URL before all remap plugins run
gtenev Feb 9, 2019
d47812d
Fixed use after free when running regression under ASAN
bryancall Feb 22, 2019
5b86099
Cleanup: use string_view for ssl_multicert.config field tags
masaori335 Feb 19, 2019
3b611dc
Fixed compiler error with std::string_view
scw00 Feb 21, 2019
763cd6d
Assertion when cache_config_target_fragment_size is large than MAX_FR…
scw00 Feb 23, 2019
e6231b3
Changed client context mapping to 2-level. Tested against a TLS serve…
dyrock Feb 21, 2019
e3ee3e4
JA3 fingerprint and documentation
dyrock Jan 14, 2019
321c1e1
RemapPluginInfo Refresh.
SolidWallOfCode Feb 25, 2019
040ad18
ProcessManager: Add string_view message overload.
SolidWallOfCode Feb 19, 2019
6be18d5
IpMap: Add bwformat.
SolidWallOfCode Feb 20, 2019
a8e7e03
Doc: Clarify how to update the ssl sessions ticket file
mlibbey Feb 26, 2019
b8d546c
Cleanup: Separate TLS SessionTicket from SSLUtils
masaori335 Feb 25, 2019
aecfd52
Cleanup: Loading certs by SSLMultiCertConfigLoader
masaori335 Feb 20, 2019
58dc8b5
Fix directives for checking TS_USE_TLS_OCSP
masaori335 Feb 26, 2019
d388e7c
Fix directives for checking TS_HAS_TESTS
masaori335 Feb 27, 2019
45b43fb
Split current client transactions metrics into HTTP/1.1 and HTTP/2
masaori335 Oct 15, 2018
5e2d175
Fixed memory leaking introduced by 4873
scw00 Feb 21, 2019
69dd33d
Revert "Rename Session and Transaction classes"
maskit Feb 28, 2019
4fdc01c
Remove extra vars to bwprint in SSLConfigParams::getCTX
dyrock Feb 27, 2019
9c4bfa3
Merge url_scheme_get into only calling class method
shinrich Feb 21, 2019
f78dcdc
MIME: Fix line_is_real false positive.
SolidWallOfCode Feb 28, 2019
3340005
set thread affinity to current thread if the current thread type is t…
duke8253 Feb 28, 2019
a105fd3
Add support for the old lua formatted ease of use conventions and the…
ezelkow1 Feb 27, 2019
9a93757
tscore/eventnotify: change fcntl include path
Mar 1, 2019
e0c6dc1
tscore/ink_hrtime: add missing cstdint import
Mar 1, 2019
656f25a
traffic_layout/engine: add missing stat import
Mar 1, 2019
2a334d8
Remove duplicate calls to TSHttpTxnReenable in xdebug
shinrich Mar 5, 2019
f202f84
Fixing a previous fix to fully allocate strings when heap mismatch de…
shinrich Mar 5, 2019
ca609e5
Override delete in Extendible
bryancall Mar 1, 2019
773108b
Fix #5094: Fix use after free in test_IntrusiveHashMap.cc
SolidWallOfCode Mar 4, 2019
82e1497
Fix #5093: new/delete mismatch in test_IntrusivePtr.cc.
SolidWallOfCode Mar 4, 2019
012d437
Implement aud claim in Uri Signing Plugin
Feb 15, 2019
1514bab
Fix SessionProtocolNameRegistry lookup
masaori335 Mar 6, 2019
814ccc5
Move minimum OpenSSL version to 1.0.2
masaori335 Feb 26, 2019
d91ca9e
fix crash in CacheVC::openReadFromWriter
Mar 6, 2019
d003e8d
Fix for() loop, correctly calculate the value of seg_in_use within Vo…
oknet Mar 7, 2019
f35ba19
Change url_mapping::toUrl to url_mapping::toURL for consistency with …
SolidWallOfCode Mar 6, 2019
a181db6
Do not run clang-format for @default_stack_size@
masaori335 Mar 7, 2019
6b1c211
Fixes some places where refactoring was not complete
zwoop Mar 7, 2019
4934fb2
Doc: open_read_retry_time is overridable
mlibbey Mar 8, 2019
4be1c00
Add virtual destructor to SSLMultiCertConfigLoader.
SolidWallOfCode Mar 8, 2019
b09ac09
Fix a self detection issue where parents are not marked down when
jrushford Mar 8, 2019
40f94cc
pop messages
Mar 8, 2019
97aac1e
Add Perltidy configuration and build target
zwoop Feb 18, 2019
11110ec
Fix #5108: Remove OS dependency in test_BufferWriterFormat.cc.
SolidWallOfCode Mar 4, 2019
7197a6d
UrlRewrite: separate constructor and configuration loading for testab…
SolidWallOfCode Mar 8, 2019
1b300df
Run clang-format against the same files on both make clang-foramt and…
maskit Mar 8, 2019
fa53771
cdniuc is not a manditory claim
Mar 8, 2019
cb2382d
Fixed the compatibility with previous cache verison
scw00 Feb 26, 2019
9c9052a
Updates to the STATUS file
bryancall Mar 11, 2019
497a33e
Fixed memory leaks in test_IntrusiveHashMap
bryancall Mar 6, 2019
f683b76
Fix test_AcidPtr
Mar 8, 2019
42fec9a
Separate P_SSLUtil and P_SSLClientUtils includes
dyrock Mar 11, 2019
3d08c28
Augment wildcard_match to allow underscore in domain name
shinrich Mar 11, 2019
f8bda56
Remove error-prone mirror enum in code handling TS API SSL hooks.
Feb 8, 2019
e27bcec
Fix memleak in ProcessManager::stop()
oknet Mar 13, 2019
33bbe34
Ensure queued HostDB requests get rescheduled back to the original th…
shinrich Mar 5, 2019
0d55280
Adds the log tag cqint for internal requests
zwoop Oct 18, 2018
405ce9f
doc: Fix ssl.server.{cert,private_key}.path examples
jvgutierrez Mar 15, 2019
63f341c
Fix Makefile.am to run clang-tidy
masaori335 Mar 14, 2019
0933b16
Run clang-tidy one by one
masaori335 Mar 15, 2019
e6cb7bf
Set the block's m_water_level in Arena:free even if the block is not …
Mar 12, 2019
0cce83c
add --with-jansson and --with-cjose options, document sample commands…
traeak Mar 4, 2019
ede4df1
Ignore check programs
masaori335 Mar 18, 2019
3075965
Updated traffic_via to have consistency between output and error
bryancall Mar 14, 2019
bf688de
Do not run clang-tidy on lib/yamlcpp/
masaori335 Mar 19, 2019
e9ace8f
Exclude C header files from modernize-deprecated-headers
masaori335 Mar 18, 2019
8e96e0b
Suppress modernize-use-nullptr on ink_thread
masaori335 Mar 19, 2019
d77cd73
Ran clang-tidy
masaori335 Mar 19, 2019
031f321
The response header of CONNECT should not have content-length or chun…
Mar 19, 2019
9b73fc9
Exclude library headers from clang-tidy
masaori335 Mar 20, 2019
8ba4843
fallback to curves list if available
jvgutierrez Mar 22, 2019
a7d4ca2
Doc: fix copy-paste leftover in ts.stat_find
ema Mar 25, 2019
841b9c6
use pthread_cancel
duke8253 Mar 18, 2019
176cb8e
check return value
duke8253 Mar 21, 2019
1c86881
Regex name checks on ssl_server_name should be anchored.
shinrich Mar 18, 2019
94ccc44
Replace EThread::has_event_loop with EThread::tt == REGULAR
oknet Mar 23, 2019
a9f01a8
Doc: Changing volume.config invalidates the cache
mlibbey Mar 25, 2019
c9c59a8
Moved unit test suppression file and updated it
bryancall Mar 25, 2019
6e9cf2f
Suppress false positive of clang-tidy on macOS
masaori335 Mar 20, 2019
7651e26
Ran clang-tidy with modernize-use-default-member-init
masaori335 Mar 19, 2019
e4470b0
HostDB: cancel timeout on free
Mar 26, 2019
5b24c07
Fix stale heap triggering assert in TSHttpTxnCachedRespGet
shinrich Mar 27, 2019
0d333ed
Allows logging of negative values
zwoop Mar 27, 2019
e92a117
Remove quotes from records.config documentation examples
randall Mar 28, 2019
c570e0a
autest for slice plugin
traeak Mar 22, 2019
cdcd881
Adds a new log tag for the MPTCP state of a connection
zwoop Mar 15, 2019
f7865e9
check return value of open
duke8253 Mar 28, 2019
17183e7
Adds a little wrapper script to build inside vscode
zwoop Mar 27, 2019
4621f36
Don't allow header values to overflow into negative values
zwoop Mar 26, 2019
ab95cd7
Fix compile problems with PR-5211
shinrich Apr 1, 2019
5122574
adding a note into storage.config admin doc about cache invalidation …
danm-netlify Mar 25, 2019
aa10988
AcidPtr test persistence
Mar 11, 2019
0b33066
Fix the hiredis autoconf for the default case
shinrich Apr 1, 2019
f32e5c1
Add nullptr check on ConfigProcessor::release()
masaori335 Mar 11, 2019
5f6a278
Fix compilation error in wccp
shinrich Apr 2, 2019
eb8cd94
Normalize on negative value for milsetone metrics
zwoop Apr 3, 2019
089316d
Doc: Add IPv6 CIDR Mask example
mlibbey Apr 1, 2019
768bcf8
Adds Cache test suits
scw00 Mar 15, 2019
3d6e63d
url_sig debug fix for when url is missing the signature query string
traeak Apr 2, 2019
334d6c7
Fix mysql-remap compilation error
jvgutierrez Apr 3, 2019
cdd6481
Some tidying up of the global namespace.
Feb 12, 2019
8ec536b
Setting the correct directory for test_Cache
bryancall Apr 6, 2019
233aa44
url_sig: fixed unit-test for remapped url.
gtenev Feb 25, 2019
cc7e102
Fixed cache test, using updated shutdown
bryancall Apr 8, 2019
b20ba1e
Adds a missing header field for the tcpinfo log
zwoop Apr 7, 2019
2c3dd8d
Changed how current age is determined to age out documents. Guarantee…
ezelkow1 Apr 6, 2019
5c643b6
DRAFT: This PR fixes #5248 - parent host status is not persistent
jrushford Apr 8, 2019
c1f8435
Adds a HostStatus::loadStats() function used to load persisted
jrushford Apr 9, 2019
d8191b6
Remove unused variable in cache test
bryancall Apr 9, 2019
b5fd8ac
Fixed pthread mutex init issue with cache test
bryancall Apr 10, 2019
6406ef8
Adds cache alterante update tests
scw00 Apr 10, 2019
076e1f3
Fixed cache RWW test crash
scw00 Apr 10, 2019
fd8d9ac
Fix reason tag of traffic_ctl host
nqyy Apr 11, 2019
8f93bca
Corrected usage of OpenSSL API for ec and ecpf list retrieval. Now th…
dyrock Apr 10, 2019
8871845
Fix IntrusiveHashMap active bucket list corruption issue during expan…
SolidWallOfCode Apr 12, 2019
23a855f
Update plugin API type conversions to support enums automatically.
SolidWallOfCode Feb 1, 2019
6ae8c58
Ignore unsupported HTTP/2 settings parameters
masaori335 Apr 12, 2019
192dc83
Strip token from upstream if conifigured and dynamically allocate str…
Jan 15, 2019
21dc79a
docs for schedule api
duke8253 Apr 9, 2019
5a0f7e9
Fix HostDBReverseTest unitilization sa_family, remove LRAND48 and SRA…
SolidWallOfCode Apr 10, 2019
7fb29ab
Fix false collapsing of reverse DNS requests.
SolidWallOfCode Apr 15, 2019
574cf2b
Cleanup: Use internal linkage for functions which are only needed in …
masaori335 Apr 15, 2019
03490d0
Adds basic version feature for traffic_layout info
zwoop Apr 5, 2019
af308e5
Ran CPP check on a few files while prodding around
zwoop Mar 26, 2019
9a85917
fix proxy.config.hostdb.timeout default
nozomi1773 Apr 16, 2019
140add0
Fixes the Brotli build issues
zwoop Apr 16, 2019
91b0559
A recipient MUST ignore If-Modified-Since if the request contains an
WolfgangBai Apr 14, 2019
13425d2
-H "xdebug: probe" injects trace of headers into response body
Apr 17, 2019
153ee3b
Update README.md
hankai17 Apr 17, 2019
789d7a8
traffic_via.pl: Fixed bugs, added tests, and make the output
bryancall Mar 15, 2019
671e639
Add more information to diags.log error message for block stitching e…
traeak Apr 10, 2019
1ff9e75
fix proxy.config.cache.ram_cache.algorithm desc
nozomi1773 Apr 21, 2019
ed9b565
Fix a build error in xdebug on macos
maskit Apr 19, 2019
1e9e4ed
Throttling results in tight loop if there are no new connections
vmamidi Apr 23, 2019
c438f94
cppcheck: fix issue found in BufferWriterFormat.cc
randall Apr 23, 2019
3c3d994
cppcheck: Use initialization list instead of assigning in constructor…
masaori335 Apr 23, 2019
d124a49
cppcheck: Fixed various issues with SSL files
bryancall Apr 23, 2019
ed6058c
Change to C++ style pointer casting
maskit Apr 23, 2019
1b84e2a
cppcheck: fixes issues in ink_uuid.h (BROKEN)
randall Apr 23, 2019
f5f4bf0
fix ssl.server.ticket_key.filename default
nozomi1773 Apr 23, 2019
41ce635
fix http2.max_header_list_size default
nozomi1773 Apr 23, 2019
56bb320
cppcheck: fixes issues found for plugins/compress
Apr 23, 2019
c6d08f4
cppcheck: Change to C++ style pointer casting in Thread.cc
Apr 23, 2019
4260241
cppcheck: fixes issues found in proxy/logging
randall Apr 24, 2019
0c8da0d
cppcheck C-style pointer casting
ZhangZizhong Apr 23, 2019
3c1b987
cppcheck: Function parameters should be passed by reference
ZhangZizhong Apr 23, 2019
14df6b0
cppcheck: syntax error and memory leak fix
ZhangZizhong Apr 23, 2019
7fa3b23
cppcheck: (style) The scope of the variable can be reduced.
ZhangZizhong Apr 23, 2019
c29d8d8
cppcheck: (portability) %zd in format string (no. 2) requires 'ssize_…
ZhangZizhong Apr 23, 2019
65adc6e
cppcheck: Fixes issues found in async_http_fetch_streaming
randall Apr 24, 2019
8de79c5
cppcheck: Minimize variable scopes and use different names to not sha…
maskit Apr 23, 2019
4338d9e
cppcheck: Reduces variable scope for files in mgmt/...
randall Apr 23, 2019
769923e
cppcheck: Reduce the scope of the variable 'netvc'
masaori335 Apr 24, 2019
0d821cc
Removes non-existent include dir reference
randall Apr 23, 2019
f294f62
cppcheck: fixes issues found for tests in proxy/http
randall Apr 23, 2019
807c49a
cppcheck: fixes issues found for plugins/background_fetch
Apr 24, 2019
962ccb3
cppcheck: fixes issues found in example/thread_pool
randall Apr 24, 2019
e5fc6cb
cppcheck fix for iocore/dns
ZhangZizhong Apr 23, 2019
e439818
Removes priorities for AIOs, thanks oknet
zwoop Apr 23, 2019
5d8b02a
correct config name for proxy.config.dns.connection_mode
ZhangZizhong Apr 23, 2019
2a3f993
Fixes clang-analyzer error dereferencing nullptr in parent
zwoop Apr 23, 2019
4b0d979
cppcheck: minimize variable scopes
maskit Apr 24, 2019
09b02b4
cppcheck: Remove an unused private function
maskit Apr 24, 2019
991df53
cppcheck: fixes issue found in proxy/IPAllow.cc
randall Apr 23, 2019
a9267dc
cppcheck: fixes issues fround in example/remap
randall Apr 24, 2019
179306d
cppcheck: fixes issues found in example/protocol
randall Apr 24, 2019
b5316c5
cppcheck: Fix various issues of Http2ConnectionState
masaori335 Apr 23, 2019
6cb506a
cppcheck: Fix various issues of Http2DependencyTree
masaori335 Apr 23, 2019
b129f2b
cppcheck: change to C++ style pointer casting
masaori335 Apr 23, 2019
72311cd
cppcheck: Reduce the scope of the variable 'out_buf'
masaori335 Apr 23, 2019
ddb9524
cppcheck: Fixes issue found in DiagsConfig.cc
randall Apr 23, 2019
42e31a1
cppcheck: Fixes various issues under proxy/http/remap
randall Apr 23, 2019
fde1899
Don't assign if this and other are the same object
zwoop Apr 24, 2019
6d55813
Revert RS-374 to avoid deadlocks
vmamidi Apr 24, 2019
60abcd3
cppcheck: fixes issues in cppcheck
randall Apr 24, 2019
a0e9f8f
cppcheck: fixes issues found for plugins/authproxy
Apr 23, 2019
969a41c
Password can not be nullptr here, so don't check
zwoop Apr 24, 2019
4a9e350
cppcheck: Declare a member variable with an initial value
maskit Apr 24, 2019
1a3c257
cppcheck: Minimize a variable scope
maskit Apr 24, 2019
7bef557
cppcheck: Removed problematic move operators for FixedBufferWriter.
SolidWallOfCode Apr 23, 2019
d0753e2
Adds assert, albeit not needed, makes CA happy
zwoop Apr 25, 2019
00237a1
Don't read frames after sending GOAWAY with an error code
maskit Apr 18, 2019
83e5b28
Move the delete to please clang-analyzer
zwoop Apr 25, 2019
0eb7810
cppcheck: Changed from C casting to C++ casting
bryancall Apr 23, 2019
19d1733
cppcheck: fix comparison issues found in plugins
randall Apr 25, 2019
b42fb60
Add slice plugin config options to either pace or disable block stitc…
traeak Apr 22, 2019
82d5644
Purges log collation feature
randall Apr 22, 2019
33097a8
cppcheck: Fix various issues in proxy/http2/
masaori335 Apr 25, 2019
14143b7
Cache:ttl-in-cache should always override never-cache
garfieldonly Mar 28, 2019
93961f8
Doc: Add links to Slicer plugin
mlibbey Apr 23, 2019
5fda043
Doc: add prefetch to plugin index page
mlibbey Apr 23, 2019
67d98bb
De-tabifies REVIEWERS
randall Apr 29, 2019
2050aae
Fixes logging after collation removal
randall Apr 29, 2019
4a43f53
Fixes spelling in src
randall Aug 7, 2018
774f55f
fixes spelling in include
randall Apr 25, 2019
affba2d
Fixes spelling in iocore
randall Aug 7, 2018
ed7c200
cppcheck: Fix issues found in I_IOBuffer.h
Apr 25, 2019
c3ef121
Remove commented out includes
randall Jul 26, 2018
efe823c
Fixes spelling in miscellaneous files
randall Apr 30, 2019
8e451b7
Fixes spelling in plugins
randall Apr 25, 2019
c8c4c18
Fixes spelling in code in plugins
randall Apr 27, 2019
e1bbb95
Fixes spelling in mgmt
randall Aug 7, 2018
494a1ea
cppcheck: Fix various issues found in iocore/eventsystem
Apr 25, 2019
69b5748
correctly handle return value 0 from recv()
ZhangZizhong Apr 23, 2019
d611b54
Off by 1 error in memcpy of redirect url
shinrich Apr 23, 2019
5be0134
MIMEScanner: only clear m_line buffer if at MIME_PARSE_BEFORE state
traeak Apr 18, 2019
0ee898d
Clang Analyzer: Fix IpMap.cc false positives.
SolidWallOfCode Apr 25, 2019
8246a4e
Added user defined conversion operator in ConstBuffer for string_view.
sfeltner-godaddy Apr 23, 2019
0fe8937
Update jtest.cc
hankai17 Apr 30, 2019
e68b191
Tries to make builds on older clang happy
zwoop Apr 30, 2019
05398aa
ssl_session_resuse: operator for redis endpoint compare functor must…
Apr 29, 2019
a34a122
Removes code related to removed configuration
zwoop Apr 30, 2019
c351730
Update README.md
FinalStarWhal May 1, 2019
92ecbcb
TS C++ API: add member function TSSslConnection InterceptPlugin::get…
May 1, 2019
37661eb
Fixed clang-analyzer issues in cookie_remap
bryancall Apr 23, 2019
d2386a5
Implement prefetched OCSP stapling responses
jvgutierrez Apr 3, 2019
00c11d0
Move setsockopt from UnixNetProcessor to Server::setup_fd_for_listen
scw00 May 2, 2019
c934b15
Rewrite the assert statement to avoid Socks Proxy triggering the asse…
oknet Apr 30, 2019
96c0c71
Load the Socks configuration after the host state persistence data is…
oknet Apr 30, 2019
16ca878
Adds voluspa - a configuration generator
randall Oct 17, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Checks: -*,modernize-loop-convert,modernize-use-bool-literals,modernize-deprecated-headers,performance-unnecessary-value-param,performance-faster-string-find,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-use-nullptr,modernize-use-override
Checks: -*,modernize-use-default-member-init,modernize-loop-convert,modernize-use-bool-literals,modernize-deprecated-headers,performance-unnecessary-value-param,performance-faster-string-find,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-use-nullptr,modernize-use-override
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: '1'
HeaderFilterRegex: (?!(\/openssl\/|\/pcre\/|\/lib\/yaml\/)).*
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Makefile.in

.project
.cproject
.idea

.diags.log.meta

Expand All @@ -37,6 +38,7 @@ build/lt~obsolete.m4

Makefile
Makefile-pl
config.cache
config.status
config.nice
config.h
Expand Down Expand Up @@ -85,6 +87,7 @@ src/tscore/test_Regex
src/tscore/test_X509HostnameValidator
src/tscore/test_tscore
src/tscpp/util/test_tscpputil
lib/records/test_librecords
lib/perl/lib/Apache/TS.pm

iocore/net/test_certlookup
Expand All @@ -96,15 +99,19 @@ iocore/eventsystem/test_MIOBufferWriter
iocore/hostdb/test_RefCountCache

proxy/hdrs/test_mime
proxy/hdrs/test_proxy_hdrs
proxy/http/test_proxy_http
proxy/http2/test_Huffmancode
proxy/http2/test_Http2DependencyTree
proxy/http2/test_HPACK
proxy/http2/hpack-tests/results
proxy/logging/test_LogUtils
proxy/logging/test_LogUtils2

plugins/header_rewrite/header_rewrite_test
plugins/experimental/cookie_remap/test_cookiejar
plugins/experimental/esi/*_test
plugins/experimental/slice/test_*
plugins/experimental/sslheaders/test_sslheaders
plugins/s3_auth/test_s3auth

Expand All @@ -115,6 +122,8 @@ plugins/esi/processor_test
plugins/esi/utils_test
plugins/esi/vars_test

plugins/experimental/uri_signing/test_uri_signing

mgmt/api/traffic_api_cli_remote
mgmt/tools/traffic_mcast_snoop
mgmt/tools/traffic_net_config
Expand Down Expand Up @@ -169,3 +178,6 @@ RELEASE

# autest
tests/env-test/

iocore/cache/test_*
iocore/cache/test/var/trafficserver/cache.db
14 changes: 14 additions & 0 deletions .perltidyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This is a simple of a .perltidyrc configuration file
-l=132 # Line length
-i=4 # 4-space indentation
-nlp # Line up params
-ce # cuddle the braces
-tso # Tight secret ops
-nsfs # No space for semicolon
-pt=2 # tight parens
-bt=2 # tight braces
-sbt=2 # tight brackets
-bbt=2 # tight code brackets
-nbbc # No blank lines before comment lines
-otr # No break between a comma and an opening token
-sbl # Empty lane for sub's opening brace
5 changes: 5 additions & 0 deletions .ripgreprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--color=auto
--no-heading
--smart-case
--line-number
--column
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,16 @@ CPP_LIB(tscppapi src/tscpp/api include/tscpp/api)

CC_EXEC(test_tscore src/tscore/unit_tests)
CC_EXEC(test_tsutil src/tscpp/util/unit_tests)
CC_EXEC(test_librecords lib/records/unit_tests)

CPP_LIB(proxy proxy proxy)
CPP_ADD_SOURCES(proxy proxy/http)
CPP_ADD_SOURCES(proxy proxy/http/unit_tests)
CPP_ADD_SOURCES(proxy proxy/http2)
CPP_ADD_SOURCES(proxy proxy/http/remap)
CPP_ADD_SOURCES(proxy proxy/hdrs)
CPP_ADD_SOURCES(proxy proxy/hdrs/unit_tests)
CPP_ADD_SOURCES(proxy proxy/logging)

CPP_LIB(iocore iocore iocore)
CPP_ADD_SOURCES(iocore iocore/eventsystem)
Expand All @@ -104,6 +108,7 @@ CPP_ADD_SOURCES(mgmt mgmt/api)
CPP_ADD_SOURCES(mgmt mgmt/utils)

CPP_LIB(records lib/records lib/records)
CPP_LIB(logging proxy/logging proxy/logging)

CPP_LIB(tsconfig lib/tsconfig lib/tsconfig)
CPP_LIB(wccp src/wccp include/wccp)
Expand All @@ -121,3 +126,4 @@ file(GLOB plugin_files
)
add_library(plugins SHARED ${plugin_files})

add_custom_target(clang-format WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY} COMMAND make -j clang-format)
14 changes: 12 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ EXTRA_DIST=CHANGES INSTALL STATUS NOTICE LAYOUT LICENSE example contrib README-E
# Default value when creating release candidates
RC = 0

# Make sure the git pre-commit hook gets installed on build time
all-local: $(abs_top_srcdir)/.git/hooks/pre-commit

# igalic can't remember if this is make check or make test and neither should you.
test: check

Expand Down Expand Up @@ -91,6 +94,11 @@ examples: all
install-examples: examples
@cd example && $(MAKE) $(AM_MAKEFLAGS) install pkglibdir=$(pkglibexecdir)

$(abs_top_srcdir)/.git/hooks/pre-commit: $(abs_top_srcdir)/tools/git/pre-commit
@if [ -d $(abs_top_srcdir)/.git/hooks ]; then \
cp $(abs_top_srcdir)/tools/git/pre-commit $(abs_top_srcdir)/.git/hooks/pre-commit; \
fi

install-data-hook:
if BUILD_DOCS
@cd doc && $(MAKE) $(AM_MAKEFLAGS) install-man
Expand All @@ -111,7 +119,7 @@ autopep8:
# If you make changes to directory structures, you must update this as well.
#
.PHONY: clang-format-src clang-format-example clang-format-iocore clang-format-lib clang-format-mgmt \
clang-format-plugins clang-format-proxy clang-format-tools
clang-format-plugins clang-format-proxy clang-format-tools perltidy

clang-format: clang-format-src clang-format-example clang-format-iocore clang-format-lib clang-format-mgmt \
clang-format-plugins clang-format-proxy clang-format-tools clang-format-tests
Expand All @@ -127,7 +135,6 @@ clang-format-iocore:

clang-format-lib:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/include
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/lib/cppapi
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/lib/records

clang-format-mgmt:
Expand All @@ -145,6 +152,9 @@ clang-format-tools:
clang-format-tests:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/tests

perltidy:
perltidy -q -b -bext='/' `find . -name \*.pm -o -name \*.pl`

help:
@echo 'all default target for building the package'
@echo 'asf-dist recreate source package'
Expand Down
12 changes: 3 additions & 9 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ plugins to build large scale web applications.
|-- ci/ ................... Quality assurance and other CI tools and configs
|-- configs/ .............. Configurations
|-- contrib/ .............. Various contributed auxiliary pieces
|-- doc/ .................. Documentations for Traffic Server
|-- doc/ .................. Documentation for Traffic Server
|-- admin-guide/ ...... Admin guide documentations
|-- appendices/ ....... Appendices of Traffic Server
|-- developer-guide/ .. Documentaions for developers
|-- developer-guide/ .. Documentation for developers
|-- dot/ .............. Graphviz source files for docs pictures
|-- static/ ........... Static resources
|-- uml/ .............. Documentations in UML
|-- uml/ .............. Documentation in UML
|-- example/ .............. Example plugins
|-- iocore/ ...............
|-- aio/ .............. Asynchronous I/O core
Expand Down Expand Up @@ -88,7 +88,6 @@ plugins to build large scale web applications.
perl-ExtUtils-MakeMaker
gcc/g++ or clang/clang++
openssl-devel
tcl-devel
pcre-devel
ncurses-devel and libcurl-devel(optional, needed for traffic_top)
libcap-devel (optional, highly recommended)
Expand All @@ -103,7 +102,6 @@ plugins to build large scale web applications.
libmodule-install-perl
gcc/g++ or clang/clang++
libssl-dev
tcl-dev
libpcre3-dev
libcap-dev (optional, highly recommended)
libhwloc-dev (optional, highly recommended)
Expand All @@ -119,15 +117,13 @@ plugins to build large scale web applications.
autoconf
automake
libtool
tcl-dev
linux-headers

OSX (we recommend HomeBrew):
autoconf
automake
pkg-config
libtool
tcl-tk (or tcl from Homebrew-Cask)
openssl
pcre

Expand All @@ -137,7 +133,6 @@ plugins to build large scale web applications.
devel/automake
devel/pkgconf
devel/libtool
lang/tcl85
security/openssl
devel/pcre
textproc/flex (optional, install newer version from ports, fix PATH)
Expand All @@ -149,7 +144,6 @@ plugins to build large scale web applications.
developer/build/autoconf
developer/build/automake-111
developer/build/libtool
omniti/runtime/tcl-8
library/security/openssl
library/pcre

Expand Down
29 changes: 14 additions & 15 deletions REVIEWERS
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Committers: add modules as needed and any qualifications after your e-mail addre
all/general interest
jplevyak@apache.org
bcall@apache.org
briang@apache.org
briang@apache.org
mturk@apache.org
zwoop@apache.org
jim@apache.org
ericb@apache.org
manjesh@apache.org
manjesh@apache.org
lib/ts
jplevyak@apache.org
zwoop@apache.org
Expand All @@ -33,33 +33,32 @@ lib/ts
lib/records
bcall@apache.org
georgep@apache.org
zwoop@apache.org
zwoop@apache.org
Event System/Buffering/VIO/VConnection
jplevyak@apache.org
bcall@apache.org
briang@apache.org
briang@apache.org
georgep@apache.org
Network I/O
jplevyak@apache.org - not including SSL or UDP except where it intersects the other code
bcall@apache.org
georgep@apache.org
briang@apache.org
briang@apache.org
jim@apache.org
zwoop@apache.org
zwoop@apache.org
Raw Cache and AIO
jplevyak@apache.org
bcall@apache.org
georgep@apache.org
HTTP Caching
bcall@apache.org
jim@apache.org
zwoop@apache.org
zwoop@apache.org
Block-Cache
Clustering
jplevyak@apache.org
georgep@apache.org
jim@apache.org
zym@apache.org
zym@apache.org
DNS/HostDB
jplevyak@apache.org
zwoop@apache.org
Expand All @@ -68,11 +67,11 @@ DNS/HostDB
ericb@apache.org
FastIO
Docs
dianes@apache.org
dianes@apache.org
Examples/Plugins
zwoop@apache.org
bcall@apache.org
briang@apache.org
briang@apache.org
ericb@apache.org
HDRs
bcall@apache.org
Expand All @@ -81,7 +80,7 @@ HDRs
HTTP
bcall@apache.org
zwoop@apache.org
briang@apache.org
briang@apache.org
jim@apache.org
ericb@apache.org
Remap
Expand All @@ -91,7 +90,7 @@ Remap
ericb@apache.org
API
zwoop@apache.org
briang@apache.org
briang@apache.org
bcall@apache.org
georgep@apache.org
ericb@apache.org
Expand All @@ -106,8 +105,8 @@ MGMT
Stats
bcall@apache.org
georgep@apache.org
briang@apache.org
zwoop@apache.org
briang@apache.org
zwoop@apache.org
Build System
zwoop@apache.org
bcall@apache.org
Expand Down
10 changes: 9 additions & 1 deletion STATUS
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The current version of this file can be found at:
* https://github.com/apache/trafficserver/blob/master/STATUS

Release history:
7.1.4 : Released on <TBD>, 2018
8.0.3 : Release on <TBD>, 2019
8.0.2 : Release on Jan 29th, 2019
8.0.1 : Release on Nov 29th, 2018
8.0.0 : Release on Sep 25th, 2018

7.1.7 : Released on <TBD>, 2019
7.1.6 : Released on Jan 29th, 2019
7.1.5 : Released on Nov 24th, 2018
7.1.4 : Released on Aug 1st, 2018
7.1.3 : Released on Apr 16th, 2018
7.1.2 : Released on Jan 10th, 2018
7.1.1 : Released on Sep 7th, 2017
Expand Down
38 changes: 38 additions & 0 deletions build/atomic.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
dnl -------------------------------------------------------- -*- autoconf -*-
dnl Licensed to the Apache Software Foundation (ASF) under one or more
dnl contributor license agreements. See the NOTICE file distributed with
dnl this work for additional information regarding copyright ownership.
dnl The ASF licenses this file to You under the Apache License, Version 2.0
dnl (the "License"); you may not use this file except in compliance with
dnl the License. You may obtain a copy of the License at
dnl
dnl http://www.apache.org/licenses/LICENSE-2.0
dnl
dnl Unless required by applicable law or agreed to in writing, software
dnl distributed under the License is distributed on an "AS IS" BASIS,
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dnl See the License for the specific language governing permissions and
dnl limitations under the License.

dnl -----------------------------------------------------------------
dnl atomic.m4: Trafficserver's autoconf macros for testing atomic support
dnl

dnl
dnl TS_CHECK_ATOMIC: try to figure out the need for -latomic
dnl
AC_DEFUN([TS_CHECK_ATOMIC], [
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <stdint.h>]],
[[uint64_t val = 0; __atomic_add_fetch(&val, 1, __ATOMIC_RELAXED);]])],
[AC_DEFINE(HAVE_ATOMIC, 1, [Define to 1 if you have '__atomic' functions.])
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([[#include <stdint.h>]],
[[uint64_t val = 0; __atomic_add_fetch(&val, 1, __ATOMIC_RELAXED);]])],
[ATOMIC_LIBS=""],
[ATOMIC_LIBS="-latomic"]
)],
[ATOMIC_LIBS=""]
)
AC_SUBST([ATOMIC_LIBS])
])
2 changes: 1 addition & 1 deletion build/brotli.m4
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fi
],
[
AC_CHECK_HEADER([brotli/encode.h], [], [has_brotli=0])
AC_CHECK_LIB([brotlienc], BrotliEncoderCreateInstance, [], [has_brotli=0])
AC_CHECK_LIB([brotlienc], BrotliEncoderCreateInstance, [:], [has_brotli=0])

if test "x$has_brotli" == "x0"; then
PKG_CHECK_EXISTS([LIBBROTLIENC],
Expand Down
Loading