You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2020/05/05 08:50:18 UTC
[trafficserver] branch quic-latest updated (d223231 -> 7f9338f)
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a change to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.
from d223231 Merge branch 'master' into quic-latest
add a963331 Don't be overly aggressive on stream failures and closing
add 592518d Fix missing virtual destructor for PluginUserArgsMixin.
add a885dc6 Patch to catch and invalidate an HTTP asset with negative bytes after cache_seek.
add 3aeb0db Updated ink_rwlock to be a real reader writer lock
add 21f6a70 Add ready checks for the microserver and ATS test instances. (#6625)
add 932b59e SNI: Add support to match/replace captured group from fqdn into tunnel_route. (#6613)
add 9035757 Fixes a bug where the nexthop markNextHop method to mark a host down is not called when because the wrapper function was not used.
add e1d13ed Fix ASAN detected crash in test_LogUtils. This is cause by double linking BufferWriterFormat.cc, so don't do that.
add e892afc s3_auth_v4: multiple same name fields signing fix
add 9bd8abb Add a new log tag %<vbn> AppVersionInfo.BldNumStr
add 7e58f90 Fix migrate use after free (#6578)
add d0bbc07 Use default rwlock attributes on initialize
add e7b3f91 Make next_cs_id a private member variable.
add 325029b Adds partial_blind_route sni action
add 15e749e Adding a log pipe buffer size test.
add 4d7aeb0 traffic_dump: don't dump cookies from the wire (#6586)
add 96e1f46 Fixes crash loading combined(cert+key) certs
add 6ca86f0 Add more options to session_sharing.match (#6566)
add 70b1bf6 Add docs for memory leak detection configs
add 1fae1c9 Adds important config notes for TLS v1/1.1 (#6646)
add 4a57dce Add hashname to the configuration definition (#6647)
add 2daf8c7 Introduce LocalBuffer
add 3aa3206 Convert HTTP/2 regression tests to use Catch
add 3b0716d Optimize HTTPHdr conversion of HTTP/1.1 to HTTP/2
add c8416c0 Augment autest to exercise combined cert and key file
add de06f60 close the file after use
add facd788 change suggested during discussion
add 64c2afa complete change
add 063d28b Removing whitespace and closing file elsewhere
add d3312c6 Run httpbin as an origin server of AuTest
add e865937 traffic_top bug fixes for client connections
add 62340b6 Fix origin scheme selection with partial-blind addition (#6655)
add 1f6a6fd Check sni against SSL object (#6656)
add 9fb6f96 Fixes memory leak loading certs
add ac5db54 Fix memory leak of HPACK
add 0debba2 Added bonded interface support to system stats plugin (#6668)
add 50441b3 Bug fixes to h2 buffering
add d3c3cc5 remove unnecessary Last-Modified header from tests
add 1b5c319 Added a basic CODEOWNERS
add 4843baa Skip running autests for ci builds that don't have relevant changed files
add ce96d1f Skip running autests for ci builds that don't have relevant changed files
add 2ed22b1 Adds the 8.1 stuff that's already running and building
add 67c7099 Format to match perferred if/else formatting for sh scripts
add 47d4435 Refactor the cache_promote policies
add 11f58fd Add PolicyManager, basic functionality
add ef25631 Cleanup for consistency
add f8821f0 Added new flag to documentation
add 98b5b5a Added / renamed config.h -> configs.h, to avoid our .gitignore
add 4ae0984 chdir into src before running git commands
add b7553d3 Removes commented out code from example
add 7f0c8ff Fixes memory leak during log configuration
add 0b31904 Update TSStatFindName to check that sync callback is set on the stat
add 18066c2 Fixes minor memory leak in configure_net
add 8369634 code and documentation for lua states configuration and stats printing (#6571)
add eed1f74 Traffic Dump: Adding an SNI filtering option. (#6645)
add 3a6f49b Fix link issue of test_libhttp2 on FreeBSD 12 with --enable-debug
add ce2bccf Test PUSHing an object into the cache and the GETting it with a few variations on the client connection protocol.
add 1c7ef0d Added Apache notifications file
add 7320d5c Normalizes function names to match hook names in intercept plugins
add 05b7ab8 Merge branch 'master' into quic-latest
add eb232ed Increase the default max_record_entries to match the original compiled in value (#6697)
add 24e78f2 Fixed memory leak in header unit test
add 016d9c8 Fix deprecated-copy warning in cache tool
add 36ebb2d Fix crash when folloing redirect
add 8b466db traffic_dump: add nullptr check for sni string (#6700)
add 4d0f843 Removes ATS version from gold files
add c35efb3 Fix lost fragments when update object
add b5ab430 Added more of the main sub-trees
add 0ec63fc Adding logging fields for collapsed forwarding metrics (#6708)
add 583e5ed Add Access log fields for ProxyProtocol Context
add 8fdf694 slice plugin: add --include-regex, --exclude-regex parameters (#6701)
add cefe482 remove TSContSchedule, then rename TSContScheduleOnPool to TSContSchedule
add 7567ff7 Remove tls_versions from host sni policy check
add 1d529e7 Updated docs for guaranteed_{min,max}_lifetime
add af8a975 Fix typo in DiagsConfig
add 6a1c5f7 put events into local queue when scheduling on the same thread as the scheduler
add 34f0477 Fixup .gitignores to match repo reality
add 4a3c1b0 Au test: HTTP/2 client sends POST, server delays 2 minutes, sends 200 KB.
add a98e2e4 gcc10: fixed warning about returning local variable in int64_to_str()
add bfafd91 traffic_dump: add tls information to dump. (#6727)
add 11041d9 Document ip_allow in sni.yaml (#6723)
add 654fbe6 Commenting EventIO methods (#6712)
add 3204235 Rework stats over http so that it supports both a config file and the original path parameter (#6542)
add b5692b1 Extendible asan simple (#6650)
add 81f750e Fix a bug that current_active_client_connections doesn't decrease
add 59ff1d8 Fix ink_endian.h to include an appropriate header file
add 42a0c65 Merge branch 'master' into quic-latest
add 7f9338f Enable QUIC 0-RTT with Tatsuhiro's OpenSSL
No new revisions were added by this update.
Summary of changes:
.asf.yaml | 4 +
.gitignore | 1 -
CODEOWNERS | 97 ++++
ci/jenkins/bin/autest.sh | 11 +-
ci/jenkins/bin/environment.sh | 5 +
ci/jenkins/bin/gh-mirror.sh | 2 +
configure.ac | 9 +-
doc/.gitignore | 1 -
doc/.tx/config | 6 +-
doc/admin-guide/files/parent.config.en.rst | 4 +-
doc/admin-guide/files/records.config.en.rst | 124 +++--
doc/admin-guide/files/sni.yaml.en.rst | 55 ++-
doc/admin-guide/logging/formatting.en.rst | 17 +
doc/admin-guide/plugins/cache_promote.en.rst | 7 +
doc/admin-guide/plugins/lua.en.rst | 54 +++
doc/admin-guide/plugins/slice.en.rst | 21 +
doc/admin-guide/plugins/stats_over_http.en.rst | 25 +
doc/admin-guide/plugins/traffic_dump.en.rst | 10 +-
.../api/functions/TSContScheduleEvery.en.rst | 58 ---
...ule.en.rst => TSContScheduleEveryOnPool.en.rst} | 28 +-
.../api/functions/TSContScheduleOnPool.en.rst | 25 +-
.../api/functions/TSContScheduleOnThread.en.rst | 17 +-
.../api/functions/TSContThreadAffinitySet.en.rst | 4 +-
.../types/TSServerSessionSharingMatchType.en.rst | 46 --
.../types/TSServerSessionSharingPoolType.en.rst | 42 --
doc/developer-guide/debugging/memory-leaks.en.rst | 16 +
.../internal-libraries/Extendible.en.rst | 32 +-
.../continuations/activating-continuations.en.rst | 2 +-
.../plugins/continuations/index.en.rst | 2 +-
.../continuations/writing-handler-functions.en.rst | 5 +-
.../api/functions/TSContSchedule.en.po | 46 --
...teRegister.en.po => TSContScheduleOnPool.en.po} | 10 +-
.../continuations/activating-continuations.en.po | 4 +-
.../plugins/continuations/index.en.po | 4 +-
.../continuations/writing-handler-functions.en.po | 8 +-
example/plugins/c-api/cache_scan/cache_scan.cc | 1 -
example/plugins/c-api/intercept/intercept.cc | 8 +-
.../plugins/c-api/null_transform/null_transform.c | 2 -
.../c-api/server_transform/server_transform.c | 1 -
example/plugins/cpp-api/boom/boom.cc | 3 -
include/ts/apidefs.h.in | 16 -
include/ts/ts.h | 2 -
include/tscore/Extendible.h | 58 ++-
include/tscore/PluginUserArgs.h | 1 +
include/tscore/ink_endian.h | 2 +
include/tscore/ink_rwlock.h | 54 ++-
include/tscpp/util/LocalBuffer.h | 72 +++
include/tscpp/util/Makefile.am | 5 +-
iocore/cache/CacheRead.cc | 57 ++-
iocore/cache/CacheWrite.cc | 4 +-
iocore/cache/P_CacheInternal.h | 1 +
iocore/cache/test/test_Update_L_to_S.cc | 1 +
iocore/cache/test/test_Update_S_to_L.cc | 1 +
iocore/eventsystem/P_UnixEThread.h | 8 +-
iocore/eventsystem/P_UnixEventProcessor.h | 22 +-
iocore/eventsystem/ProtectedQueue.cc | 2 +-
iocore/net/I_NetVConnection.h | 8 +
iocore/net/Net.cc | 5 +
iocore/net/P_SNIActionPerformer.h | 117 ++++-
iocore/net/P_SSLConfig.h | 1 +
iocore/net/P_SSLNetVConnection.h | 20 +-
iocore/net/P_SSLSNI.h | 5 +-
iocore/net/P_UnixNet.h | 61 ++-
iocore/net/SSLSNIConfig.cc | 52 +-
iocore/net/SSLUtils.cc | 22 +-
iocore/net/UnixNetVConnection.cc | 12 +-
iocore/net/YamlSNIConfig.cc | 7 +
iocore/net/YamlSNIConfig.h | 3 +
iocore/net/quic/QUICTLS_openssl.cc | 3 +
lib/records/I_RecCore.h | 2 +-
lib/records/P_RecDefs.h | 2 +-
lib/records/RecCore.cc | 22 +-
mgmt/RecordsConfig.cc | 2 +-
mgmt/api/CoreAPI.cc | 3 +-
plugins/cache_promote/Makefile.inc | 6 +-
plugins/cache_promote/cache_promote.cc | 539 +--------------------
plugins/cache_promote/chance_policy.h | 75 +++
plugins/cache_promote/configs.cc | 104 ++++
.../geoip_acl/lulu.h => cache_promote/configs.h} | 29 +-
plugins/cache_promote/lru_policy.cc | 186 +++++++
plugins/cache_promote/lru_policy.h | 132 +++++
plugins/cache_promote/policy.cc | 58 +++
plugins/cache_promote/policy.h | 105 ++++
plugins/cache_promote/policy_manager.cc | 67 +++
.../policy_manager.h} | 40 +-
plugins/experimental/slice/Config.cc | 121 ++++-
plugins/experimental/slice/Config.h | 28 +-
plugins/experimental/slice/HttpHeader.cc | 12 +-
plugins/experimental/slice/Makefile.inc | 6 +
plugins/experimental/slice/slice.cc | 22 +-
plugins/experimental/system_stats/system_stats.c | 92 ++--
plugins/experimental/traffic_dump/traffic_dump.cc | 352 ++++++++++++--
plugins/generator/generator.cc | 6 +-
plugins/lua/ts_lua.c | 348 +++++++++++--
plugins/lua/ts_lua_coroutine.h | 16 +-
plugins/lua/ts_lua_util.c | 96 +++-
plugins/s3_auth/aws_auth_v4.cc | 6 +-
plugins/s3_auth/aws_auth_v4.h | 1 +
plugins/s3_auth/unit_tests/test_aws_auth_v4.cc | 247 ++++++----
plugins/s3_auth/unit_tests/test_aws_auth_v4.h | 6 +-
plugins/stats_over_http/stats_over_http.c | 439 ++++++++++++++++-
proxy/ProxySession.h | 3 +-
proxy/hdrs/HTTP.h | 4 +-
proxy/hdrs/unit_tests/test_HdrUtils.cc | 3 +
proxy/http/Http1ServerSession.cc | 2 +-
proxy/http/Http1ServerSession.h | 2 +-
proxy/http/HttpConfig.cc | 64 ++-
proxy/http/HttpConfig.h | 15 +-
proxy/http/HttpProxyAPIEnums.h | 26 +-
proxy/http/HttpSM.cc | 84 ++--
proxy/http/HttpSM.h | 2 +
proxy/http/HttpSessionManager.cc | 118 +++--
proxy/http/HttpSessionManager.h | 6 +-
proxy/http/HttpTransact.cc | 14 +-
proxy/http/unit_tests/unit_test_main.cc | 5 +
proxy/http2/HPACK.cc | 1 +
proxy/http2/HTTP2.cc | 371 ++++++--------
proxy/http2/HTTP2.h | 16 +-
proxy/http2/Http2ClientSession.cc | 16 +-
proxy/http2/Http2ClientSession.h | 2 +
proxy/http2/Http2ConnectionState.cc | 119 +++--
proxy/http2/Http2ConnectionState.h | 10 +-
proxy/http2/Http2Stream.cc | 37 +-
proxy/http2/Http2Stream.h | 5 +-
proxy/http2/Makefile.am | 11 +-
proxy/http2/RegressionHPACK.cc | 495 -------------------
proxy/http2/unit_tests/main.cc | 12 +-
proxy/http2/unit_tests/test_HTTP2.cc | 169 +++++++
proxy/http2/unit_tests/test_HpackIndexingTable.cc | 487 +++++++++++++++++++
proxy/http2/unit_tests/test_Http2Frame.cc | 121 +++++
proxy/http3/Http3HeaderFramer.cc | 11 +-
proxy/http3/Http3HeaderFramer.h | 2 +-
proxy/http3/test/test_QPACK.cc | 7 +-
proxy/logging/Log.cc | 35 ++
proxy/logging/LogAccess.cc | 125 +++++
proxy/logging/LogAccess.h | 7 +
proxy/logging/LogConfig.cc | 4 +-
proxy/logging/LogFile.cc | 10 +-
proxy/logging/Makefile.am | 1 -
proxy/logging/unit-tests/BufferWriterFormat.cc | 24 -
proxy/shared/DiagsConfig.cc | 2 +-
rc/trafficserver.conf.in | 3 +-
rc/trafficserver.in | 6 +-
src/traffic_cache_tool/CacheTool.cc | 2 +
src/traffic_layout/info.cc | 6 +
src/traffic_server/InkAPI.cc | 70 +--
src/traffic_top/stats.h | 25 +-
src/tscore/Extendible.cc | 11 +-
src/tscore/ink_hrtime.cc | 38 +-
src/tscore/ink_rwlock.cc | 121 +----
src/tscore/unit_tests/test_Extendible.cc | 72 ++-
src/tscpp/util/Makefile.am | 1 +
src/tscpp/util/unit_tests/test_LocalBuffer.cc | 111 +++++
.../observer.py => autest-site/when.test.ext} | 23 +-
tests/gold_tests/bigobj/bigobj.test.py | 131 +++++
.../gold_tests/bigobj/check_ramp.c | 61 ++-
tests/gold_tests/bigobj/log2.gold | 4 +
tests/gold_tests/bigobj/push_request.c | 79 +++
.../{tls_hooks => bigobj}/ssl/server.key | 0
.../bigobj}/ssl/server.pem | 0
tests/gold_tests/cont_schedule/gold/schedule.gold | 4 -
tests/gold_tests/cont_schedule/schedule.test.py | 49 --
.../continuations/plugins/session_id_verify.cc | 91 ++++
tests/gold_tests/continuations/session_id.test.py | 101 ++++
tests/gold_tests/h2/nghttp.test.py | 4 +-
tests/gold_tests/logging/log_pipe.test.py | 186 +++++++
tests/gold_tests/logging/new_log_flds.test.py | 15 +-
.../logging/pipe_buffer_is_larger_than.py | 69 +++
.../null_transform/gold/null_transform-tag.gold | 2 +-
.../cache_range_requests.test.py | 17 +-
.../cache_range_requests_ims.test.py | 1 -
.../cache_range_requests/gold/frange.stdout.gold | 1 -
.../cache_range_requests/gold/full.stdout.gold | 1 -
.../cache_range_requests/gold/inner.stdout.gold | 1 -
.../cache_range_requests/gold/last.stdout.gold | 1 -
.../cache_range_requests/gold/pselect.stdout.gold | 1 -
.../gold/pselect_none.stdout.gold | 1 -
.../pluginTest/lua/gold/lifecycle.stderr.gold | 6 +
.../pluginTest/lua/gold/metrics.stdout.gold | 3 +
.../gold_tests/pluginTest/lua/hello.lua | 31 +-
.../pluginTest/lua/lua_states_stats.test.py | 99 ++++
.../pluginTest/slice/slice_regex.test.py | 169 +++++++
.../pluginTest/traffic_dump/gold/200.gold | 1 +
.../traffic_dump/gold/200_bob_no_sni.gold | 7 +
.../pluginTest/traffic_dump/gold/200_sni_bob.gold | 11 +
.../pluginTest/traffic_dump/gold/200_sni_dave.gold | 12 +
.../traffic_dump}/ssl/server.key | 0
.../traffic_dump}/ssl/server.pem | 0
.../traffic_dump}/ssl/signed-foo.key | 0
.../traffic_dump}/ssl/signed-foo.pem | 0
.../traffic_dump}/ssl/signer.pem | 0
.../pluginTest/traffic_dump/traffic_dump.test.py | 48 +-
.../traffic_dump/traffic_dump_sni_filter.test.py | 163 +++++++
.../pluginTest/traffic_dump/verify_replay.py | 99 ++++
.../gold_tests/post_slow_server/check.sh | 8 +-
.../post_slow_server/post_slow_server.test.py | 75 +++
.../gold_tests/post_slow_server/server.sh | 46 +-
.../{tls_hooks => post_slow_server}/ssl/server.key | 0
.../post_slow_server}/ssl/server.pem | 0
.../ssl/server.key => tls/ssl/combo.pem} | 21 +
.../tls/tls_check_cert_selection.test.py | 5 +-
.../tls/tls_partial_blind_tunnel.test.py | 70 +++
tests/gold_tests/tls/tls_tunnel.test.py | 39 +-
tests/test-env-check.sh | 9 +-
tests/tools/plugins/cont_schedule.cc | 87 +---
tools/git/apply-pr.sh | 2 +-
206 files changed, 6721 insertions(+), 2656 deletions(-)
create mode 100644 .asf.yaml
create mode 100644 CODEOWNERS
delete mode 100644 doc/developer-guide/api/functions/TSContScheduleEvery.en.rst
rename doc/developer-guide/api/functions/{TSContSchedule.en.rst => TSContScheduleEveryOnPool.en.rst} (56%)
delete mode 100644 doc/developer-guide/api/types/TSServerSessionSharingMatchType.en.rst
delete mode 100644 doc/developer-guide/api/types/TSServerSessionSharingPoolType.en.rst
delete mode 100644 doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/TSContSchedule.en.po
copy doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/{TSMgmtUpdateRegister.en.po => TSContScheduleOnPool.en.po} (82%)
create mode 100644 include/tscpp/util/LocalBuffer.h
create mode 100644 plugins/cache_promote/chance_policy.h
create mode 100644 plugins/cache_promote/configs.cc
copy plugins/{experimental/geoip_acl/lulu.h => cache_promote/configs.h} (67%)
create mode 100644 plugins/cache_promote/lru_policy.cc
create mode 100644 plugins/cache_promote/lru_policy.h
create mode 100644 plugins/cache_promote/policy.cc
create mode 100644 plugins/cache_promote/policy.h
create mode 100644 plugins/cache_promote/policy_manager.cc
copy plugins/{header_rewrite/regex_helper.h => cache_promote/policy_manager.h} (50%)
delete mode 100644 proxy/http2/RegressionHPACK.cc
create mode 100644 proxy/http2/unit_tests/test_HTTP2.cc
create mode 100644 proxy/http2/unit_tests/test_HpackIndexingTable.cc
delete mode 100644 proxy/logging/unit-tests/BufferWriterFormat.cc
create mode 100644 src/tscpp/util/unit_tests/test_LocalBuffer.cc
copy tests/gold_tests/{pluginTest/sslheaders/observer.py => autest-site/when.test.ext} (66%)
create mode 100644 tests/gold_tests/bigobj/bigobj.test.py
copy example/plugins/c-api/protocol/Protocol.h => tests/gold_tests/bigobj/check_ramp.c (55%)
create mode 100644 tests/gold_tests/bigobj/log2.gold
create mode 100644 tests/gold_tests/bigobj/push_request.c
copy tests/gold_tests/{tls_hooks => bigobj}/ssl/server.key (100%)
copy tests/{tools/microserver => gold_tests/bigobj}/ssl/server.pem (100%)
delete mode 100644 tests/gold_tests/cont_schedule/gold/schedule.gold
delete mode 100644 tests/gold_tests/cont_schedule/schedule.test.py
create mode 100644 tests/gold_tests/continuations/plugins/session_id_verify.cc
create mode 100644 tests/gold_tests/continuations/session_id.test.py
create mode 100644 tests/gold_tests/logging/log_pipe.test.py
create mode 100644 tests/gold_tests/logging/pipe_buffer_is_larger_than.py
create mode 100644 tests/gold_tests/pluginTest/lua/gold/lifecycle.stderr.gold
create mode 100644 tests/gold_tests/pluginTest/lua/gold/metrics.stdout.gold
copy example/plugins/lua-api/reqbody.lua => tests/gold_tests/pluginTest/lua/hello.lua (66%)
create mode 100644 tests/gold_tests/pluginTest/lua/lua_states_stats.test.py
create mode 100644 tests/gold_tests/pluginTest/slice/slice_regex.test.py
create mode 100644 tests/gold_tests/pluginTest/traffic_dump/gold/200_bob_no_sni.gold
create mode 100644 tests/gold_tests/pluginTest/traffic_dump/gold/200_sni_bob.gold
create mode 100644 tests/gold_tests/pluginTest/traffic_dump/gold/200_sni_dave.gold
copy tests/gold_tests/{tls => pluginTest/traffic_dump}/ssl/server.key (100%)
copy tests/gold_tests/{tls => pluginTest/traffic_dump}/ssl/server.pem (100%)
copy tests/gold_tests/{tls => pluginTest/traffic_dump}/ssl/signed-foo.key (100%)
copy tests/gold_tests/{tls => pluginTest/traffic_dump}/ssl/signed-foo.pem (100%)
copy tests/gold_tests/{tls => pluginTest/traffic_dump}/ssl/signer.pem (100%)
create mode 100644 tests/gold_tests/pluginTest/traffic_dump/traffic_dump_sni_filter.test.py
copy example/plugins/c-api/thread_pool/include/Makefile.am => tests/gold_tests/post_slow_server/check.sh (85%)
mode change 100644 => 100755
create mode 100644 tests/gold_tests/post_slow_server/post_slow_server.test.py
copy tools/git/apply-pr.sh => tests/gold_tests/post_slow_server/server.sh (51%)
copy tests/gold_tests/{tls_hooks => post_slow_server}/ssl/server.key (100%)
copy tests/{tools/microserver => gold_tests/post_slow_server}/ssl/server.pem (100%)
copy tests/gold_tests/{pluginTest/sslheaders/ssl/server.key => tls/ssl/combo.pem} (57%)
create mode 100644 tests/gold_tests/tls/tls_partial_blind_tunnel.test.py