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 2019/08/19 00:35:25 UTC
[trafficserver] branch quic-latest updated (7a9d7fd -> 3c8e6d1)
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 7a9d7fd fix typo
add 0d2ad23 Add slow logs for HTTP/2 Connection & Stream
add db5f923 fix race condition
add b0e699b remove unnecessary parts from tests
add 9808a98 remove testing command
add 9db871a YAML: Replace ip_allow.config with ip_allow.yaml.
add ebd6451 Avoid a clang warning when all the defines are set
add ad725fe Fixes linker changes for luajit on macOS
add f1891e3 cppcheck: fixed uninitialized variable and scoping in healthchecks
add a858e49 cppcheck: fixed leak and scoping in ts::file::copy
add b06ad23 doc: TSL used instead of TLS in Japanese docs
add d359ccd Remove ssl_error stats that aren't really errors.
add b5fa44d Fixed std::array initialization for older compilers
add 92a912e Issue 5604 - fix memory leaks for http parser.
add 37df8d9 IPAllow: change top level key to "ip_allow".
add 55c5194 Rename remaining references to ip_allow.config to ip_allow.yaml
add 19e8041 Removes unreferenced, unused bits of code
add 19b0704 Mark debug logs of polling as verbose
add 2c8859c Documentation for testing in Sphinx
add 0236a4e Fix IP address based loop detection.
add 7658b08 Loop detection: add additional check for going to the same addr/port as the inbound already connected to. Closes #3654
add dd71510 Doc: fix manpage error which causes Makefile problem.
add 3483fff Remove unused assignment to satisfy clang-analyzer
add bed431c More doc spelling fixes
add 3db3932 Add protection against null pointer access
add d2f1c6c Fixes broken links to documentation
add 3cea219 Removed add/prepend. Use append only since we don't have priority implemented yet
add 556da66 Updates links to trafficserver.apache.org to https
add cbbdd53 Adjust SNI alpn support
add c59884c Fixed the InkAPI to provide the TSVConnProtocolEnable/Disable functions. Update documentation and updated the example plugin.
add d7e90a4 Update for QUIC integration.
add 5483683 Refactor the alpn/npn handling into common ALPNSupport class
add adbaca2 Remove double call of the SNI action on TLS accept.
add 7aad29c Fixes various issues found in docs
add 9c09dbc HTTP/2 rate limiting
add b2f6264 Allocate DependencyTree only if HTTP/2 stream priority is enabled
add f316aa6 compress plugin: document undocumented options
add a83f118 Limit resources used by regex_remap to prevent crashes on resource exhaustion.
add 3418b7e fix.
add 921bed6 Doc: Improve handling of build when documentation is not enabled.
add f0cbc11 make check race condition fix
add 296cf29 Record HttpSM Id on new transaction
add dc06916 Make client_context_dump test resilient to dump order changes
add 59c4a58 Cleanup: Remove unused function & old comments
add 03ff337 Cleanup: Signal READ_READY event only if the buffer is readable
add e05cae1 Fix QUIC build
add 30b75a3 Avoid AWS auth v4 path/query param double encoding
add 3e039a2 Reactivate active timeout enforcement
add aa319a4 Fix H2 internal counters
add 3c8e6d1 Merge branch 'master' into quic-latest
No new revisions were added by this update.
Summary of changes:
.gitignore | 1 +
CMakeLists.txt | 1 +
INSTALL | 2 +-
README | 4 +-
README-EC2 | 2 +-
build/luajit.m4 | 2 +-
ci/rat-regex.txt | 1 +
configs/Makefile.am | 2 +-
configs/ip_allow.config.default | 27 --
configs/ip_allow.schema.json | 81 ++++++
configs/ip_allow.yaml.default | 50 ++++
configs/sni.yaml.default | 4 +-
configure.ac | 2 +-
doc/Makefile.am | 85 ++++--
doc/admin-guide/configuration/cache-basics.en.rst | 2 +-
doc/admin-guide/files/index.en.rst | 4 +-
doc/admin-guide/files/ip_allow.config.en.rst | 134 ---------
doc/admin-guide/files/ip_allow.yaml.en.rst | 225 +++++++++++++++
doc/admin-guide/files/records.config.en.rst | 61 ++++-
doc/admin-guide/files/remap.config.en.rst | 2 +-
doc/admin-guide/files/sni.yaml.en.rst | 12 +-
doc/admin-guide/logging/examples.en.rst | 2 +-
doc/admin-guide/logging/rotation.en.rst | 2 +-
doc/admin-guide/logging/understanding.en.rst | 2 +-
doc/admin-guide/monitoring/error-messages.en.rst | 4 +-
.../monitoring/statistics/core/dns.en.rst | 2 +-
.../monitoring/statistics/core/ssl.en.rst | 12 -
doc/admin-guide/plugins/access_control.en.rst | 2 +-
doc/admin-guide/plugins/compress.en.rst | 19 ++
doc/admin-guide/plugins/cookie_remap.en.rst | 2 +-
doc/admin-guide/plugins/ja3_fingerprint.en.rst | 4 +-
doc/admin-guide/plugins/remap_purge.en.rst | 2 +-
doc/admin-guide/security/index.en.rst | 4 +-
doc/appendices/faq.en.rst | 2 +-
doc/developer-guide/api/functions/TSConfig.en.rst | 2 +-
.../api/functions/TSIOBufferReader.en.rst | 2 +-
.../api/functions/TSMimeHdrFieldAppend.en.rst | 2 +-
.../api/functions/TSProtoSet.en.rst | 46 ----
.../api/functions/TSSslClientContext.en.rst | 24 +-
doc/developer-guide/api/functions/TSTypes.en.rst | 2 -
.../api/functions/TSVConnProtocol.en.rst | 51 ++++
doc/developer-guide/api/types/TSHttpHookID.en.rst | 2 +
.../cache-architecture/architecture.en.rst | 3 +-
.../cache-architecture/tiered-storage.en.rst | 2 +-
doc/developer-guide/core-architecture/rpc.en.rst | 16 +-
.../url_rewrite_architecture.en.rst | 2 +-
.../design-documents/reloading-plugins.en.rst | 14 +-
.../documentation/adding-domains.en.rst | 2 +-
doc/developer-guide/documentation/building.en.rst | 2 +-
.../documentation/conventions.en.rst | 12 +-
doc/developer-guide/documentation/plugins.en.rst | 2 +-
.../documentation/rst-and-sphinx.en.rst | 2 +-
doc/developer-guide/documentation/structure.en.rst | 2 +-
doc/developer-guide/documentation/ts-markup.en.rst | 6 +-
doc/developer-guide/index.en.rst | 1 +
.../internal-libraries/Extendible.en.rst | 2 +-
.../plugins/example-plugins/tls_bridge.en.rst | 2 +-
.../testing/blackbox-testing.en.rst | 278 +++++++++++++++++++
.../{layout => testing}/index.en.rst | 8 +-
doc/doap.rdf | 12 +-
.../admin-guide/files/records.config.en.po | 2 +-
doc/manpages.py | 2 +-
.../plugins/c-api/disable_http2/disable_http2.cc | 35 +--
include/ts/apidefs.h.in | 1 -
include/ts/ts.h | 5 +-
include/tscore/MMH.h | 54 ----
include/tscore/Scalar.h | 1 -
include/tscore/ink_sock.h | 1 -
iocore/cache/test/stub.cc | 16 +-
iocore/eventsystem/I_VIO.h | 6 +
iocore/eventsystem/P_VIO.h | 14 +
iocore/eventsystem/UnixEventProcessor.cc | 3 +-
.../eventsystem/unit_tests/test_MIOBufferWriter.cc | 57 ----
iocore/hostdb/test_RefCountCache.cc | 6 -
iocore/net/ALPNSupport.cc | 82 ++++++
iocore/net/Makefile.am | 2 +
iocore/net/P_ALPNSupport.h | 71 +++++
iocore/net/P_QUICNetVConnection.h | 13 +-
iocore/net/P_QUICNextProtocolAccept.h | 6 +-
iocore/net/P_SNIActionPerformer.h | 41 +--
iocore/net/P_SSLNetVConnection.h | 26 +-
iocore/net/P_SSLNextProtocolAccept.h | 7 +-
iocore/net/P_SSLNextProtocolSet.h | 9 +-
iocore/net/P_SSLSNI.h | 5 -
iocore/net/P_UnixNetVConnection.h | 2 +-
iocore/net/QUICMultiCertConfigLoader.cc | 10 +-
iocore/net/QUICNetVConnection.cc | 36 ++-
iocore/net/QUICNextProtocolAccept.cc | 14 +-
iocore/net/SNIActionPerformer.cc | 58 ----
iocore/net/SSLNetProcessor.cc | 1 -
iocore/net/SSLNetVConnection.cc | 60 +---
iocore/net/SSLNextProtocolAccept.cc | 14 +-
iocore/net/SSLNextProtocolSet.cc | 62 +----
iocore/net/SSLSNIConfig.cc | 19 +-
iocore/net/SSLStats.cc | 8 -
iocore/net/SSLStats.h | 5 -
iocore/net/SSLUtils.cc | 4 +-
iocore/net/Socks.cc | 8 -
iocore/net/UnixNet.cc | 26 +-
iocore/net/UnixNetAccept.cc | 3 -
iocore/net/UnixNetPages.cc | 6 -
iocore/net/UnixNetVConnection.cc | 20 +-
iocore/net/UnixUDPNet.cc | 17 +-
iocore/net/YamlSNIConfig.cc | 6 +-
iocore/net/YamlSNIConfig.h | 8 +-
iocore/net/libinknet_stub.cc | 11 +-
iocore/net/quic/Mock.h | 20 +-
iocore/net/quic/QUICConnection.h | 4 +-
iocore/utils/I_OneWayMultiTunnel.h | 16 --
iocore/utils/OneWayMultiTunnel.cc | 13 -
lib/perl/lib/Apache/TS/AdminClient.pm | 2 +-
lib/records/I_RecProcess.h | 1 -
lib/records/RecRawStats.cc | 22 --
lib/records/test_I_RecLocal.cc | 2 -
lib/records/test_RecProcess.i | 2 +-
lib/records/test_RecTree.cc | 3 +-
mgmt/Alarms.cc | 11 -
mgmt/Alarms.h | 1 -
mgmt/LocalManager.cc | 1 -
mgmt/RecordsConfig.cc | 14 +-
mgmt/RecordsConfig.h | 3 +-
mgmt/RecordsConfigUtils.cc | 33 ---
mgmt/api/EventCallback.cc | 2 +-
plugins/authproxy/utils.cc | 76 ------
plugins/authproxy/utils.h | 9 -
plugins/cachekey/tests/pattern_test.cc | 2 +-
plugins/esi/esi.cc | 2 +-
plugins/esi/lib/EsiGzip.cc | 9 -
.../experimental/cache_key_genid/cache_key_genid.c | 2 +-
.../collapsed_forwarding/collapsed_forwarding.cc | 1 -
plugins/experimental/mysql_remap/mysql_remap.cc | 3 +-
.../ssl_session_reuse/src/session_process.cc | 1 -
plugins/experimental/sslheaders/sslheaders.cc | 5 -
plugins/experimental/sslheaders/sslheaders.h | 2 -
plugins/healthchecks/healthchecks.c | 21 +-
plugins/regex_remap/regex_remap.cc | 27 +-
plugins/s3_auth/aws_auth_v4.cc | 31 ++-
plugins/s3_auth/s3_auth.cc | 3 -
plugins/s3_auth/unit_tests/test_aws_auth_v4.cc | 11 +-
proxy/CacheControl.cc | 6 -
proxy/ControlMatcher.cc | 2 +-
proxy/IPAllow.cc | 304 ++++++++++++++++++---
proxy/IPAllow.h | 49 +++-
proxy/InkAPIInternal.h | 99 +++++--
proxy/Makefile.am | 1 +
proxy/Milestones.h | 59 ++--
proxy/ProxySession.cc | 78 +++---
proxy/ProxySession.h | 15 +-
proxy/ProxyTransaction.cc | 10 +-
proxy/ProxyTransaction.h | 3 +-
proxy/Transform.cc | 2 +-
proxy/hdrs/HTTP.cc | 12 -
proxy/hdrs/HdrHeap.cc | 4 +-
proxy/hdrs/HdrTest.cc | 35 +--
proxy/hdrs/MIME.h | 3 +-
proxy/hdrs/URL.cc | 5 -
proxy/http/HttpProxyServerMain.cc | 43 +--
proxy/http/HttpSM.cc | 137 +++-------
proxy/http/HttpSM.h | 17 +-
proxy/http/HttpTransact.cc | 150 ++--------
proxy/http/HttpTransact.h | 2 -
proxy/http/HttpTransactCache.cc | 5 -
proxy/http/HttpTransactHeaders.cc | 37 ---
proxy/http/HttpTransactHeaders.h | 3 -
proxy/http/remap/UrlRewrite.cc | 26 --
proxy/http/remap/UrlRewrite.h | 1 -
.../http/remap/unit-tests/plugin_testing_common.cc | 13 +
.../http/remap/unit-tests/plugin_testing_common.h | 3 +
proxy/http/remap/unit-tests/test_PluginDso.cc | 9 +-
proxy/http/remap/unit-tests/test_PluginFactory.cc | 13 +-
proxy/http/remap/unit-tests/test_RemapPlugin.cc | 20 +-
proxy/http2/HTTP2.cc | 53 ++--
proxy/http2/HTTP2.h | 6 +
proxy/http2/Http2ClientSession.cc | 80 +++++-
proxy/http2/Http2ClientSession.h | 20 +-
proxy/http2/Http2ConnectionState.cc | 194 ++++++++++---
proxy/http2/Http2ConnectionState.h | 37 ++-
proxy/http2/Http2FrequencyCounter.cc | 55 ++++
.../{Http2DebugNames.h => Http2FrequencyCounter.h} | 17 +-
proxy/http2/Http2Stream.cc | 103 ++++++-
proxy/http2/Http2Stream.h | 47 +++-
proxy/http2/Makefile.am | 17 ++
.../http2/unit_tests/test_Http2FrequencyCounter.cc | 219 +++++++++++++++
proxy/logging/LogAccess.cc | 8 +-
proxy/logging/LogFilter.cc | 12 +-
proxy/shared/DiagsConfig.cc | 20 --
proxy/shared/DiagsConfig.h | 1 -
rc/trafficserver.xml.in | 2 +-
src/traffic_cache_tool/CacheDefs.cc | 5 -
src/traffic_layout/info.cc | 4 +-
src/traffic_manager/AddConfigFilesHere.cc | 2 +-
src/traffic_quic/traffic_quic.cc | 38 +--
src/traffic_server/CoreUtils.cc | 8 -
src/traffic_server/InkAPI.cc | 168 +++++++++---
src/traffic_server/InkAPITest.cc | 21 --
src/traffic_server/traffic_server.cc | 12 -
src/tscore/ink_sock.cc | 19 --
src/tscore/ts_file.cc | 6 +-
src/tscore/unit_tests/test_List.cc | 5 -
.../gold_tests/autest-site/min_cfg/ip_allow.config | 4 -
tests/gold_tests/autest-site/min_cfg/ip_allow.yaml | 43 +++
.../gold_tests/autest-site/trafficserver.test.ext | 2 +-
tests/gold_tests/cont_schedule/gold/http_200.gold | 9 -
tests/gold_tests/cont_schedule/schedule.test.py | 25 +-
.../cont_schedule/schedule_on_pool.test.py | 25 +-
.../cont_schedule/schedule_on_thread.test.py | 25 +-
.../cont_schedule/thread_affinity.test.py | 25 +-
tests/gold_tests/h2/h2disable.test.py | 7 +-
...test.py => h2disable_no_accept_threads.test.py} | 7 +-
.../h2/{h2disable.test.py => h2enable.test.py} | 31 ++-
....test.py => h2enable_no_accept_threads.test.py} | 31 ++-
.../client_context_dump.test.py | 6 +-
.../gold/client_context_dump.gold | 2 -
.../regex_remap/gold/regex_remap_crash.gold} | 7 +-
.../regex_remap/gold/regex_remap_smoke.gold} | 7 +-
.../pluginTest/regex_remap/regex_remap.test.py | 92 +++++++
.../regex_remap/replay/yts-2819.replay.json | 155 +++++++++++
tests/gold_tests/timeout/active_timeout.test.py | 63 +++++
tests/gold_tests/timeout/inactive_timeout.test.py | 63 +++++
.../tls/tls_tunnel_plugin_rename.test.py | 91 ------
tests/tools/plugins/cont_schedule.cc | 142 +++++-----
tests/tools/plugins/ssl_sni_rename_test.cc | 73 -----
tools/trafficserver.pc.in | 2 +-
223 files changed, 3367 insertions(+), 2395 deletions(-)
delete mode 100644 configs/ip_allow.config.default
create mode 100644 configs/ip_allow.schema.json
create mode 100644 configs/ip_allow.yaml.default
delete mode 100644 doc/admin-guide/files/ip_allow.config.en.rst
create mode 100644 doc/admin-guide/files/ip_allow.yaml.en.rst
delete mode 100644 doc/developer-guide/api/functions/TSProtoSet.en.rst
create mode 100644 doc/developer-guide/api/functions/TSVConnProtocol.en.rst
create mode 100644 doc/developer-guide/testing/blackbox-testing.en.rst
copy doc/developer-guide/{layout => testing}/index.en.rst (90%)
create mode 100644 iocore/net/ALPNSupport.cc
create mode 100644 iocore/net/P_ALPNSupport.h
delete mode 100644 iocore/net/SNIActionPerformer.cc
create mode 100644 proxy/http2/Http2FrequencyCounter.cc
copy proxy/http2/{Http2DebugNames.h => Http2FrequencyCounter.h} (78%)
create mode 100644 proxy/http2/unit_tests/test_Http2FrequencyCounter.cc
delete mode 100644 tests/gold_tests/autest-site/min_cfg/ip_allow.config
create mode 100644 tests/gold_tests/autest-site/min_cfg/ip_allow.yaml
delete mode 100644 tests/gold_tests/cont_schedule/gold/http_200.gold
copy tests/gold_tests/h2/{h2disable.test.py => h2disable_no_accept_threads.test.py} (97%)
copy tests/gold_tests/h2/{h2disable.test.py => h2enable.test.py} (80%)
copy tests/gold_tests/h2/{h2disable.test.py => h2enable_no_accept_threads.test.py} (80%)
delete mode 100644 tests/gold_tests/pluginTest/client_context_dump/gold/client_context_dump.gold
copy tests/gold_tests/{timeout/timeout.gold => pluginTest/regex_remap/gold/regex_remap_crash.gold} (61%)
copy tests/gold_tests/{timeout/timeout.gold => pluginTest/regex_remap/gold/regex_remap_smoke.gold} (57%)
create mode 100644 tests/gold_tests/pluginTest/regex_remap/regex_remap.test.py
create mode 100644 tests/gold_tests/pluginTest/regex_remap/replay/yts-2819.replay.json
create mode 100644 tests/gold_tests/timeout/active_timeout.test.py
create mode 100644 tests/gold_tests/timeout/inactive_timeout.test.py
delete mode 100644 tests/gold_tests/tls/tls_tunnel_plugin_rename.test.py
delete mode 100644 tests/tools/plugins/ssl_sni_rename_test.cc