You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by du...@apache.org on 2019/07/08 15:53:15 UTC
[trafficserver] branch 0-rtt updated (cf6ddb3 -> 206384e)
This is an automated email from the ASF dual-hosted git repository.
duke8253 pushed a change to branch 0-rtt
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.
from cf6ddb3 New APIs: Server/ClientCertUpdate Structure changes for SSLCertContext using share pointer and mutex
add 6127cd2 Re-enable the disjoint-wait-for-cache Au test, as it seems to be working now (for unknown reasons).
add c18c745 This RSB is no longer used at all, so remove
add ee23b6f Removes the remaining code and configurations for SSL3
add a9ec130 Drop config bits of tsconfig
add 5051e29 Moves Errata to tscore, removes tsconfig library
add 6fd0fc3 Renames ssl_server_name.yaml to sni.yaml
add 25ec31c Move logging config under toplevel YAML tag 'logging'
add f26825b Fix up remaining references to ssl_server_name.yaml
add 07ca9b0 Add Pipfile for building docs
add 532fa0d Doc: Add documentation for HTTP/2 statistics
add e18bb8b Separate stubs for libinknet from test_I_UDPNet.cc
add d765d1a Do not change stream state from HALF_CLOSED_REMOTE with CONTINUATION frame
add d710c82 Updates README to reflect current source tree layout
add 3d8c450 Removes checks for curl that snuck back into the tests
add 4eadecd Elevate privs to load TLS Session Ticket Key file
add a8d0c5a Move sni config (formerly ssl_server_name) under toplevel YAML tag 'sni'
add d34c192 Removes the explicit Vary configurations and code
add ba978b6 Step 1: Removes proxy.config.admin.number_config_bak and code
add bc04279 Step 2: Rempve findVersions(), findVersions_ml() and versionCmp()
add d367d36 Step 3: Remove revertToVersion() and revertToVersion_ml()
add a880a3d Step 4: Remove forceUpdate() and forceUpdate_ml()
add 1e938dd Step 5: Remove removeVersion() and removeVersion_ml()
add 6d03c33 Step 6: Simplifies checkForUserUpdate(), moving critical code here
add 1c2a39e Step 7: Removes updateVersion() and updateVersion_ml()
add 589dc20 Step 8: Removes internalUpdate(), functionality was moved in 6
add ea3859d Step 9: Removes getVersion() and getVersion_ml()
add d1189c2 Step 10: Removes versionTimeStamp() and versionTimeStamp_ml()
add 33cc9e2 Step 11: Removes statVersion()
add a28aee0 Step 12: Removes extractVersionInfo()
add af5c885 Step 13: Removes openFile() and closeFile()
add 1692000 Step 14: Removes numberOfVersions() and getCurrentVersion()
add cfa1dd9 Step 15: Removes getBaseName() and various unused members
add 3a3f286 Step 16: Removes createPathStr() and cleans up statFile()
add 36f5925 Step 17: Removes versionInfo, as well as currentVersion and highestSeen
add e336562 Step 18: Removes setLastModifiedTime, and simplifies code
add e41c667 Step 19: Removes the now unused Rollback member variables
add de76e1e Step 20: Removes incVersion/inc_version from Filemanager etc.
add 3ea91a0 Step 21: Removes the UNVERSIONED option flag completely
add 8458750 Step 22: Renames Rollback.cc/.h -> ConfigManager.cc/.h
add e5e9074 Step 23: Renames Rollback object -> FileManager consistently
add 9d90a51 TextView: Fix bug in rtrim_if when entire view is cleared.
add 188879f Update lua.en.rst
add 397bfb9 Fix default logging.yaml with new format.
add e51b6ef Cleanup debug log in mime_hdr_describe
add d3639e0 HTTP/2: increment write_vio.ndone by consumed size
add 2047495 HTTP/2: cancel reading buffer when ATS received GOAWAY
add 74d6588 HTTP/2: ignore unknown settings
add e209bb1 use type info to assign an affinity thread
add 06a8bc4 Replaces Emergency() with Error() when parsing these records.config values
add de1ed04 cookie_remap plugin Au test case changes for compatability with PR 4964.
add aa70b43 TS autest extension now auto selects both ssl and nonssl port
add ef24634 Fix and reenable url_sig Au test.
add b460616 Fix the number of net_connections_currently_open_stat error increase
add 75e7fc3 Reenable redirect_actions Au test as it is working now.
add 130dcd0 Auto port selection for more autests
add 59b02ba Add metrics to track SSLv3 and TLS versions
add cac7766 Use SSL_version() directly instead of SSL_get_version() which returns a string (Thanks @maskit for the pointer).
add 42b7694 Fix build error for pre openssl-1.1.1
add 0c947f1 update example directory structure and add examples for lua plugin
add 5a8beee emergency shutdown
add cee653e Doc: Improve TSHttpTxnUrlEffectiveStringGet docs, cleanup other doc build errors.
add f95d7be Program to test if multiple URLs can be cached and generates a report on the cache headers.
add cba8b22 Allows for resizing librecords via command line option
add 9d859ea Update MT_Hashtable interface to use smart pointer
add 545a7a9 Fix options processing for ja3_fingerprint plugin
add 0fb0657 This fixes issue #5642. When the number of connections to a parent proxy exceeds proxy.config.http.per_server.connection.max a state machine loop will occur when using parent selection to select a parent for redundancy and/or load balancing.
add e3d5bcd Convert HdrHeap regression test into unit test using Catch
add d2e6a9e Add ats_unique_buf
add 9f612ff Added end pointer to ink_atoi64 and used when parsing cache size
add a4d913a Combohandler: Set response as private if one of the origin responses is private
add 6cadf9d More Autest cleanup
add 206384e Reverse internal order of HPACK Dynamic Table Entries
No new revisions were added by this update.
Summary of changes:
.gitignore | 5 +-
CMakeLists.txt | 1 -
README | 10 +-
ci/rat-regex.txt | 1 -
configs/Makefile.am | 2 +-
configs/logging.yaml.default | 6 +-
...l_server_name.yaml.default => sni.yaml.default} | 20 +-
configure.ac | 18 +-
doc/.gitignore | 1 +
doc/Doxyfile | 1 -
{tests => doc}/Pipfile | 19 +-
doc/admin-guide/configuration/cache-basics.en.rst | 28 +-
doc/admin-guide/files/index.en.rst | 4 +-
doc/admin-guide/files/records.config.en.rst | 45 +-
...ssl_server_name.yaml.en.rst => sni.yaml.en.rst} | 9 +-
doc/admin-guide/layer-4-routing.en.rst | 5 +-
doc/admin-guide/logging/examples.en.rst | 27 +-
doc/admin-guide/monitoring/error-messages.en.rst | 5 +-
.../statistics/core/http-connection.en.rst | 63 +-
.../statistics/core/http-transaction.en.rst | 25 +
doc/admin-guide/plugins/combo_handler.en.rst | 4 +-
doc/admin-guide/plugins/lua.en.rst | 25 +-
doc/appendices/command-line/traffic_manager.en.rst | 1 +
doc/appendices/command-line/traffic_server.en.rst | 2 +
.../api/functions/TSClientProtocolStack.en.rst | 4 +-
doc/developer-guide/api/functions/TSDebug.en.rst | 17 +-
.../api/functions/TSHttpArgs.en.rst | 2 +-
.../api/functions/TSHttpOverridableConfig.en.rst | 4 -
.../api/functions/TSSslClientCertUpdate.en.rst | 11 +-
.../api/functions/TSSslClientContext.en.rst | 4 +-
.../api/functions/TSSslServerCertUpdate.en.rst | 10 +-
.../api/functions/TSUrlStringGet.en.rst | 44 +-
.../api/functions/TSVConnFdCreate.en.rst | 4 +-
doc/developer-guide/api/types/TSMgmtTypes.en.rst | 2 -
.../api/types/TSOverridableConfigKey.en.rst | 4 -
doc/developer-guide/documentation/building.en.rst | 7 +
.../plugins/adding-statistics.en.rst | 2 +-
.../example-plugins/blacklist/source-code.en.rst | 2 +-
.../query_remap/example-query-remap.en.rst | 6 +-
...plugin-registration-and-version-checking.en.rst | 2 +-
.../plugins/http-transformations/index.en.rst | 2 +-
.../admin-guide/configuration/cache-basics.en.po | 16 -
.../admin-guide/monitoring/error-messages.en.po | 4 +-
.../api/functions/TSVConnFdCreate.en.po | 2 +-
.../plugins/http-transformations/index.en.po | 2 +-
doc/pip_requirements.txt | 5 -
example/Makefile.am | 182 +-
{include => example/plugins}/Makefile.am | 4 +-
example/plugins/c-api/Makefile.am | 114 +
.../{ => plugins/c-api}/add_header/add_header.c | 0
example/{ => plugins/c-api}/add_header/readme.txt | 0
.../c-api}/append_transform/append_transform.c | 0
.../c-api}/append_transform/readme.txt | 0
.../{ => plugins/c-api}/basic_auth/basic_auth.c | 0
example/{ => plugins/c-api}/basic_auth/readme.txt | 0
.../{ => plugins/c-api}/blacklist_0/blacklist_0.c | 0
.../{ => plugins/c-api}/blacklist_1/blacklist.txt | 0
.../{ => plugins/c-api}/blacklist_1/blacklist_1.c | 0
example/{ => plugins/c-api}/blacklist_1/readme.txt | 0
.../c-api}/bnull_transform/bnull_transform.c | 0
.../{ => plugins/c-api}/cache_scan/cache_scan.cc | 0
.../{ => plugins/c-api}/cert_update/cert_update.cc | 0
.../client_context_dump/client_context_dump.cc | 0
.../c-api}/disable_http2/disable_http2.cc | 0
.../{ => plugins/c-api}/disable_http2/readme.txt | 0
example/{ => plugins/c-api}/file_1/file_1.c | 0
example/{ => plugins/c-api}/file_1/readme.txt | 0
example/{ => plugins/c-api}/hello/hello.c | 0
example/{ => plugins/c-api}/intercept/intercept.cc | 0
.../c-api}/lifecycle_plugin/lifecycle_plugin.c | 0
.../c-api}/lifecycle_plugin/readme.txt | 0
.../c-api}/null_transform/null_transform.c | 0
.../{ => plugins/c-api}/null_transform/readme.txt | 0
.../c-api}/output_header/output_header.c | 0
example/{ => plugins/c-api}/output_header/readme | 0
example/{ => plugins/c-api}/passthru/passthru.cc | 0
example/{ => plugins/c-api}/protocol/Protocol.c | 0
example/{ => plugins/c-api}/protocol/Protocol.h | 0
example/{ => plugins/c-api}/protocol/README.txt | 0
example/{ => plugins/c-api}/protocol/TxnSM.c | 0
example/{ => plugins/c-api}/protocol/TxnSM.h | 0
.../c-api}/protocol/test/ProtocolClientTest.java | 0
.../c-api}/protocol/test/ProtocolServerTest.java | 0
.../{ => plugins/c-api}/protocol/test/file_gen.sh | 0
.../c-api}/protocol_stack/protocol_stack.cc | 0
.../{ => plugins/c-api}/query_remap/query_remap.c | 0
example/{ => plugins/c-api}/redirect_1/readme.txt | 0
.../{ => plugins/c-api}/redirect_1/redirect_1.c | 0
example/{ => plugins/c-api}/remap/build.txt | 0
example/{ => plugins/c-api}/remap/remap.cc | 0
.../{ => plugins/c-api}/remap_header_add/build.txt | 0
.../c-api}/remap_header_add/remap_header_add.cc | 0
.../c-api}/replace_header/replace_header.c | 0
.../c-api}/request_buffer/request_buffer.c | 0
.../c-api}/response_header_1/response_header_1.c | 0
example/{ => plugins/c-api}/secure_link/readme.txt | 0
.../{ => plugins/c-api}/secure_link/secure_link.c | 0
.../{ => plugins/c-api}/server_push/server_push.c | 0
.../c-api}/server_transform/server_transform.c | 0
.../c-api}/session_hooks/session_hooks.c | 0
.../c-api}/ssl_preaccept/ssl_preaccept.cc | 0
example/{ => plugins/c-api}/ssl_sni/ssl_sni.cc | 0
.../c-api}/ssl_sni_whitelist/ssl_sni_whitelist.cc | 0
example/{ => plugins/c-api}/statistic/statistic.cc | 0
example/{ => plugins/c-api}/thread_1/readme.txt | 0
example/{ => plugins/c-api}/thread_1/thread_1.c | 0
example/{ => plugins/c-api}/thread_pool/README.txt | 0
.../{ => plugins/c-api}/thread_pool/TESTPLAN.txt | 0
.../c-api}/thread_pool/include/Makefile.am | 0
.../{ => plugins/c-api}/thread_pool/include/gen.c | 0
.../c-api}/thread_pool/include/gen_inc.sh | 0
example/{ => plugins/c-api}/thread_pool/psi.c | 0
.../thread_pool/test/SDKTest/SDKtest_server.config | 0
.../c-api}/thread_pool/test/SDKTest/psi_server.c | 0
.../thread_pool/test/SynTest/Tests/Psi/1.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/10.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/11.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/12.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/13.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/2.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/3.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/4.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/5.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/6.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/7.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/8.cfg | 0
.../thread_pool/test/SynTest/Tests/Psi/9.cfg | 0
.../test/SynTest/Tests/Psi/psi_files/tc10_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc11_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc12_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc13_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc1_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc2_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc3_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc4_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc5_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc6_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc7_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc8_file.txt | 0
.../test/SynTest/Tests/Psi/psi_files/tc9_file.txt | 0
.../c-api}/thread_pool/test/SynTest/system.cfg | 0
.../c-api}/thread_pool/test/SynTest/tests_psi.cfg | 0
example/{ => plugins/c-api}/thread_pool/thread.c | 0
example/{ => plugins/c-api}/thread_pool/thread.h | 0
.../c-api}/txn_data_sink/txn_data_sink.c | 0
.../{ => plugins/c-api}/vconn_args/vconn_args.cc | 0
.../{ => plugins/c-api}/verify_cert/verify_cert.cc | 0
example/{ => plugins/c-api}/version/version.c | 0
example/plugins/cpp-api/Makefile.am | 109 +
.../cpp-api}/async_http_fetch/AsyncHttpFetch.cc | 0
.../AsyncHttpFetchStreaming.cc | 0
.../cpp-api}/async_timer/AsyncTimer.cc | 0
.../{cppapi => plugins/cpp-api}/boom/README.txt | 0
example/{cppapi => plugins/cpp-api}/boom/boom.cc | 0
.../cpp-api}/clientredirect/ClientRedirect.cc | 0
.../cpp-api}/clientrequest/ClientRequest.cc | 0
.../CustomErrorRemapPlugin.cc | 0
.../cpp-api}/customresponse/CustomResponse.cc | 0
.../DelayTransformationPlugin.cc | 0
.../cpp-api}/globalhook/GlobalHookPlugin.cc | 0
.../GzipTransformationPlugin.cc | 0
.../cpp-api}/helloworld/HelloWorldPlugin.cc | 0
.../cpp-api}/intercept/intercept.cc | 0
.../InternalTransactionHandling.cc | 0
.../cpp-api}/logger_example/LoggerExample.cc | 0
.../MultipleTransactionHookPlugins.cc | 0
.../NullTransformationPlugin.cc | 0
.../cpp-api}/post_buffer/PostBuffer.cc | 0
.../cpp-api}/remap_plugin/RemapPlugin.cc | 0
.../cpp-api}/serverresponse/ServerResponse.cc | 0
.../cpp-api}/stat_example/StatExample.cc | 0
.../timeout_example/TimeoutExamplePlugin.cc | 0
.../transactionhook/TransactionHookPlugin.cc | 0
.../cpp-api}/websocket/README.txt | 0
.../cpp-api}/websocket/WSBuffer.cc | 0
.../cpp-api}/websocket/WSBuffer.h | 0
.../cpp-api}/websocket/WebSocket.cc | 0
.../cpp-api}/websocket/WebSocket.h | 0
example/plugins/lua-api/connect_geoip.lua | 36 +
example/plugins/lua-api/connect_redis.lua | 49 +
example/plugins/lua-api/sorted_query_params.lua | 53 +
example/plugins/lua-api/uncompress.lua | 52 +
include/ts/apidefs.h.in | 4 -
include/ts/ts.h | 3 +
include/tscore/Errata.h | 1020 +++++++++
{lib/tsconfig => include/tscore}/IntrusivePtr.h | 99 +-
include/tscore/MT_hashtable.h | 4 +-
include/tscore/MemArena.h | 2 +-
{lib/tsconfig => include/tscore}/NumericType.h | 0
include/tscore/ParseRules.h | 2 +-
include/tscore/TsBuffer.h | 3 -
include/tscore/ink_config.h.in | 3 -
include/tscore/ink_memory.h | 13 +
include/tscpp/util/TextView.h | 12 +-
include/wccp/Wccp.h | 5 +-
iocore/cache/Makefile.am | 2 -
iocore/cache/Store.cc | 3 +-
iocore/eventsystem/I_EventProcessor.h | 1 +
iocore/eventsystem/P_UnixEventProcessor.h | 25 +
iocore/net/Makefile.am | 5 +-
iocore/net/P_SSLConfig.h | 2 +-
iocore/net/P_SSLNetVConnection.h | 1 +
iocore/net/SSLConfig.cc | 11 +-
iocore/net/SSLDiags.cc | 24 -
iocore/net/SSLNetVConnection.cc | 30 +-
iocore/net/SSLSNIConfig.cc | 8 +-
iocore/net/SSLStats.cc | 12 +
iocore/net/SSLStats.h | 7 +
iocore/net/SSLUtils.cc | 8 +-
iocore/net/UnixNetProcessor.cc | 33 +-
iocore/net/YamlSNIConfig.cc | 7 +-
iocore/net/YamlSNIConfig.h | 2 +-
iocore/net/libinknet_stub.cc | 162 ++
iocore/net/test_I_UDPNet.cc | 142 --
lib/Makefile.am | 2 +-
lib/perl/lib/Apache/TS/AdminClient.pm | 10 +-
lib/records/I_RecCore.h | 17 +-
lib/records/I_RecEvents.h | 1 -
lib/records/P_RecCore.cc | 35 +-
lib/records/P_RecCore.h | 4 +-
lib/records/P_RecDefs.h | 9 +-
lib/records/RecConfigParse.cc | 4 +-
lib/records/RecCore.cc | 9 +-
lib/records/RecLocal.cc | 2 +-
lib/records/RecUtils.cc | 5 +-
lib/tsconfig/BisonHeaderToC++.sed | 8 -
lib/tsconfig/Errata.h | 929 ---------
lib/tsconfig/Makefile.am | 77 -
lib/tsconfig/TsBuilder.cc | 220 --
lib/tsconfig/TsBuilder.h | 101 -
lib/tsconfig/TsConfigGrammar.c | 1618 ---------------
lib/tsconfig/TsConfigGrammar.h | 114 -
lib/tsconfig/TsConfigGrammar.y | 124 --
lib/tsconfig/TsConfigLexer.h | 61 -
lib/tsconfig/TsConfigParseEvents.h | 67 -
lib/tsconfig/TsConfigSyntax.c | 2168 --------------------
lib/tsconfig/TsConfigSyntax.l | 133 --
lib/tsconfig/TsConfigTypes.h | 66 -
lib/tsconfig/TsErrataUtil.cc | 190 --
lib/tsconfig/TsErrataUtil.h | 169 --
lib/tsconfig/TsValue.cc | 392 ----
lib/tsconfig/TsValue.h | 741 -------
lib/tsconfig/test-1.tsconfig | 18 -
lib/tsconfig/test-tsconfig.cc | 50 -
mgmt/BaseManager.h | 2 +-
mgmt/ConfigManager.cc | 127 ++
mgmt/ConfigManager.h | 117 ++
mgmt/FileManager.cc | 75 +-
mgmt/FileManager.h | 26 +-
mgmt/LocalManager.cc | 26 +-
mgmt/LocalManager.h | 2 +-
mgmt/Makefile.am | 4 +-
mgmt/ProcessManager.cc | 11 +-
mgmt/ProcessManager.h | 2 +-
mgmt/ProxyConfig.h | 4 -
mgmt/RecordsConfig.cc | 22 +-
mgmt/RecordsConfig.h | 3 +
mgmt/Rollback.cc | 945 ---------
mgmt/Rollback.h | 255 ---
mgmt/api/CoreAPI.cc | 12 +-
mgmt/utils/Makefile.am | 1 -
mgmt/utils/MgmtUtils.h | 2 -
plugins/esi/README.combo | 4 +-
plugins/esi/combo_handler.cc | 11 +-
.../ja3_fingerprint/ja3_fingerprint.cc | 3 +-
plugins/experimental/remap_stats/remap_stats.c | 5 +-
plugins/lua/ts_lua_http_config.c | 8 -
proxy/hdrs/HdrHeap.cc | 100 -
proxy/hdrs/HttpCompat.cc | 4 +-
proxy/hdrs/HttpCompat.h | 2 +-
proxy/hdrs/MIME.cc | 2 +-
proxy/hdrs/Makefile.am | 27 +-
proxy/hdrs/unit_tests/test_HdrHeap.cc | 132 ++
proxy/hdrs/unit_tests/test_HdrUtils.cc | 84 +
proxy/http/HttpConfig.cc | 36 +-
proxy/http/HttpConfig.h | 9 -
proxy/http/HttpSM.cc | 9 +-
proxy/http/HttpTransact.cc | 216 +-
proxy/http/HttpTransactCache.cc | 158 +-
proxy/http2/HPACK.cc | 81 +-
proxy/http2/HPACK.h | 2 +
proxy/http2/HTTP2.cc | 3 +-
proxy/http2/Http2ClientSession.cc | 6 +-
proxy/http2/Http2ConnectionState.h | 2 +-
proxy/http2/Http2Stream.cc | 7 +-
proxy/logging/YamlLogConfig.cc | 7 +
src/traffic_cache_tool/CacheDefs.h | 6 +-
src/traffic_cache_tool/Makefile.inc | 2 +-
src/traffic_layout/info.cc | 1 -
src/traffic_manager/AddConfigFilesHere.cc | 4 +-
src/traffic_manager/Makefile.inc | 1 -
src/traffic_manager/traffic_manager.cc | 9 +-
src/traffic_server/EventName.cc | 2 -
src/traffic_server/HostStatus.cc | 5 +-
src/traffic_server/InkAPI.cc | 48 +-
src/traffic_server/InkAPITest.cc | 4 -
src/traffic_server/Makefile.inc | 1 -
src/traffic_server/traffic_server.cc | 13 +-
src/traffic_wccp/Makefile.inc | 1 -
src/traffic_wccp/wccp_client.cc | 2 +-
{lib/tsconfig => src/tscore}/Errata.cc | 188 +-
src/tscore/Makefile.am | 2 +
src/tscore/ParseRules.cc | 11 +-
src/tscore/ink_memory.cc | 6 +
src/tscore/unit_tests/test_IntrusivePtr.cc | 3 +-
src/tscore/unit_tests/test_ParseRules.cc | 93 +
src/wccp/WccpLocal.h | 2 +-
src/wccp/WccpUtil.h | 2 +-
tests/README.md | 7 +-
.../min_cfg/{ssl_server_name.yaml => sni.yaml} | 0
.../gold_tests/autest-site/min_cfg/storage.config | 2 +-
.../gold_tests/autest-site/trafficserver.test.ext | 29 +-
tests/gold_tests/basic/basic-manager.test.py | 6 +-
tests/gold_tests/basic/basic.test.py | 6 +-
tests/gold_tests/basic/config.test.py | 16 +-
tests/gold_tests/basic/copy_config.test.py | 22 +-
.../cache/disjoint-wait-for-cache.test.py | 3 +-
.../chunked_encoding/chunked_encoding.test.py | 7 +-
tests/gold_tests/continuations/double.test.py | 4 +-
tests/gold_tests/continuations/double_h2.test.py | 7 +-
.../gold_tests/continuations/openclose_h2.test.py | 9 +-
tests/gold_tests/h2/gold/http2_8_stderr.gold | 18 +
tests/gold_tests/h2/gold/http2_8_stdout.gold | 1 +
tests/gold_tests/h2/h2disable.test.py | 10 +-
tests/gold_tests/h2/http2.test.py | 26 +-
tests/gold_tests/h2/http2_priority.test.py | 7 +-
tests/gold_tests/h2/httpbin.test.py | 24 +-
tests/gold_tests/h2/rules/huge_resp_hdrs.conf | 24 +
tests/gold_tests/headers/hsts.test.py | 5 +-
tests/gold_tests/headers/normalize_ae.test.py | 5 +-
tests/gold_tests/logging/all_headers.test.py | 13 +-
tests/gold_tests/logging/ccid_ctid.test.py | 19 +-
tests/gold_tests/logging/custom-log.test.py | 13 +-
tests/gold_tests/logging/log-field.test.py | 14 +-
.../pluginTest/cert_update/cert_update.test.py | 12 +-
.../client_context_dump.test.py | 13 +-
.../cookie_remap/collapseslashes.test.py | 3 +-
.../pluginTest/cookie_remap/connector.test.py | 3 +-
.../pluginTest/cookie_remap/matrixparams.test.py | 9 +-
.../pluginTest/cookie_remap/subcookie.test.py | 9 +-
.../pluginTest/cookie_remap/substitute.test.py | 3 +-
.../regex_revalidate/regex_revalidate.test.py | 5 +-
tests/gold_tests/pluginTest/slice/slice.test.py | 5 +-
.../pluginTest/slice/slice_error.test.py | 5 +-
.../pluginTest/sslheaders/sslheaders.test.py | 9 +-
.../pluginTest/test_hooks/test_hooks.test.py | 6 +-
tests/gold_tests/pluginTest/tsapi/tsapi.test.py | 8 +-
tests/gold_tests/pluginTest/url_sig/url_sig.gold | 9 -
.../gold_tests/pluginTest/url_sig/url_sig.test.py | 10 +-
tests/gold_tests/redirect/redirect_actions.test.py | 1 -
.../emergency.test.py} | 39 +-
.../schedule.test.py => shutdown/fatal.test.py} | 39 +-
tests/gold_tests/tls/tls.test.py | 7 +-
tests/gold_tests/tls/tls_client_cert.test.py | 37 +-
tests/gold_tests/tls/tls_client_cert2.test.py | 9 +-
.../tls/tls_client_cert_override.test.py | 6 +-
tests/gold_tests/tls/tls_client_verify.test.py | 9 +-
tests/gold_tests/tls/tls_client_verify2.test.py | 9 +-
tests/gold_tests/tls/tls_client_versions.test.py | 13 +-
tests/gold_tests/tls/tls_forward_nonhttp.test.py | 15 +-
.../gold_tests/tls/tls_hooks_client_verify.test.py | 10 +-
tests/gold_tests/tls/tls_hooks_verify.test.py | 18 +-
tests/gold_tests/tls/tls_keepalive.test.py | 29 +-
tests/gold_tests/tls/tls_ocsp.test.py | 9 +-
tests/gold_tests/tls/tls_ticket.test.py | 12 +-
tests/gold_tests/tls/tls_tunnel.test.py | 46 +-
tests/gold_tests/tls/tls_tunnel_forward.test.py | 13 +-
.../tls/tls_tunnel_plugin_rename.test.py | 13 +-
tests/gold_tests/tls/tls_verify.test.py | 10 +-
tests/gold_tests/tls/tls_verify2.test.py | 25 +-
tests/gold_tests/tls/tls_verify3.test.py | 10 +-
tests/gold_tests/tls/tls_verify_base.test.py | 10 +-
.../gold_tests/tls/tls_verify_ca_override.test.py | 7 +-
.../gold_tests/tls/tls_verify_not_pristine.test.py | 7 +-
tests/gold_tests/tls/tls_verify_override.test.py | 7 +-
.../tls/tls_verify_override_base.test.py | 7 +-
tests/gold_tests/tls_hooks/tls_hooks.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks10.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks11.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks12.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks13.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks14.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks15.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks16.test.py | 7 +-
tests/gold_tests/tls_hooks/tls_hooks17.test.py | 7 +-
tests/gold_tests/tls_hooks/tls_hooks18.test.py | 7 +-
tests/gold_tests/tls_hooks/tls_hooks2.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks3.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks4.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks6.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks7.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks8.test.py | 9 +-
tests/gold_tests/tls_hooks/tls_hooks9.test.py | 9 +-
tests/tools/plugins/emergency_shutdown.cc | 66 +
tests/tools/plugins/fatal_shutdown.cc | 66 +
tests/tools/plugins/ssl_hook_test.cc | 18 +-
tools/git/pre-commit | 2 +-
tools/traffic_cacheable.pl | 240 +++
398 files changed, 3987 insertions(+), 10416 deletions(-)
rename configs/{ssl_server_name.yaml.default => sni.yaml.default} (83%)
copy {tests => doc}/Pipfile (79%)
rename doc/admin-guide/files/{ssl_server_name.yaml.en.rst => sni.yaml.en.rst} (98%)
delete mode 100644 doc/pip_requirements.txt
copy {include => example/plugins}/Makefile.am (93%)
create mode 100644 example/plugins/c-api/Makefile.am
rename example/{ => plugins/c-api}/add_header/add_header.c (100%)
rename example/{ => plugins/c-api}/add_header/readme.txt (100%)
rename example/{ => plugins/c-api}/append_transform/append_transform.c (100%)
rename example/{ => plugins/c-api}/append_transform/readme.txt (100%)
rename example/{ => plugins/c-api}/basic_auth/basic_auth.c (100%)
rename example/{ => plugins/c-api}/basic_auth/readme.txt (100%)
rename example/{ => plugins/c-api}/blacklist_0/blacklist_0.c (100%)
rename example/{ => plugins/c-api}/blacklist_1/blacklist.txt (100%)
rename example/{ => plugins/c-api}/blacklist_1/blacklist_1.c (100%)
rename example/{ => plugins/c-api}/blacklist_1/readme.txt (100%)
rename example/{ => plugins/c-api}/bnull_transform/bnull_transform.c (100%)
rename example/{ => plugins/c-api}/cache_scan/cache_scan.cc (100%)
copy example/{ => plugins/c-api}/cert_update/cert_update.cc (100%)
copy example/{ => plugins/c-api}/client_context_dump/client_context_dump.cc (100%)
rename example/{ => plugins/c-api}/disable_http2/disable_http2.cc (100%)
rename example/{ => plugins/c-api}/disable_http2/readme.txt (100%)
rename example/{ => plugins/c-api}/file_1/file_1.c (100%)
rename example/{ => plugins/c-api}/file_1/readme.txt (100%)
rename example/{ => plugins/c-api}/hello/hello.c (100%)
rename example/{ => plugins/c-api}/intercept/intercept.cc (100%)
rename example/{ => plugins/c-api}/lifecycle_plugin/lifecycle_plugin.c (100%)
rename example/{ => plugins/c-api}/lifecycle_plugin/readme.txt (100%)
rename example/{ => plugins/c-api}/null_transform/null_transform.c (100%)
rename example/{ => plugins/c-api}/null_transform/readme.txt (100%)
rename example/{ => plugins/c-api}/output_header/output_header.c (100%)
rename example/{ => plugins/c-api}/output_header/readme (100%)
rename example/{ => plugins/c-api}/passthru/passthru.cc (100%)
rename example/{ => plugins/c-api}/protocol/Protocol.c (100%)
rename example/{ => plugins/c-api}/protocol/Protocol.h (100%)
rename example/{ => plugins/c-api}/protocol/README.txt (100%)
rename example/{ => plugins/c-api}/protocol/TxnSM.c (100%)
rename example/{ => plugins/c-api}/protocol/TxnSM.h (100%)
rename example/{ => plugins/c-api}/protocol/test/ProtocolClientTest.java (100%)
rename example/{ => plugins/c-api}/protocol/test/ProtocolServerTest.java (100%)
rename example/{ => plugins/c-api}/protocol/test/file_gen.sh (100%)
rename example/{ => plugins/c-api}/protocol_stack/protocol_stack.cc (100%)
rename example/{ => plugins/c-api}/query_remap/query_remap.c (100%)
rename example/{ => plugins/c-api}/redirect_1/readme.txt (100%)
rename example/{ => plugins/c-api}/redirect_1/redirect_1.c (100%)
rename example/{ => plugins/c-api}/remap/build.txt (100%)
rename example/{ => plugins/c-api}/remap/remap.cc (100%)
rename example/{ => plugins/c-api}/remap_header_add/build.txt (100%)
rename example/{ => plugins/c-api}/remap_header_add/remap_header_add.cc (100%)
rename example/{ => plugins/c-api}/replace_header/replace_header.c (100%)
rename example/{ => plugins/c-api}/request_buffer/request_buffer.c (100%)
rename example/{ => plugins/c-api}/response_header_1/response_header_1.c (100%)
rename example/{ => plugins/c-api}/secure_link/readme.txt (100%)
rename example/{ => plugins/c-api}/secure_link/secure_link.c (100%)
rename example/{ => plugins/c-api}/server_push/server_push.c (100%)
rename example/{ => plugins/c-api}/server_transform/server_transform.c (100%)
rename example/{ => plugins/c-api}/session_hooks/session_hooks.c (100%)
rename example/{ => plugins/c-api}/ssl_preaccept/ssl_preaccept.cc (100%)
rename example/{ => plugins/c-api}/ssl_sni/ssl_sni.cc (100%)
rename example/{ => plugins/c-api}/ssl_sni_whitelist/ssl_sni_whitelist.cc (100%)
rename example/{ => plugins/c-api}/statistic/statistic.cc (100%)
rename example/{ => plugins/c-api}/thread_1/readme.txt (100%)
rename example/{ => plugins/c-api}/thread_1/thread_1.c (100%)
rename example/{ => plugins/c-api}/thread_pool/README.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/TESTPLAN.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/include/Makefile.am (100%)
rename example/{ => plugins/c-api}/thread_pool/include/gen.c (100%)
rename example/{ => plugins/c-api}/thread_pool/include/gen_inc.sh (100%)
rename example/{ => plugins/c-api}/thread_pool/psi.c (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SDKTest/SDKtest_server.config (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SDKTest/psi_server.c (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/1.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/10.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/11.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/12.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/13.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/2.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/3.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/4.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/5.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/6.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/7.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/8.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/9.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc10_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc11_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc12_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc13_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc1_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc2_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc3_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc4_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc5_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc6_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc7_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc8_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/Tests/Psi/psi_files/tc9_file.txt (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/system.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/test/SynTest/tests_psi.cfg (100%)
rename example/{ => plugins/c-api}/thread_pool/thread.c (100%)
rename example/{ => plugins/c-api}/thread_pool/thread.h (100%)
rename example/{ => plugins/c-api}/txn_data_sink/txn_data_sink.c (100%)
rename example/{ => plugins/c-api}/vconn_args/vconn_args.cc (100%)
rename example/{ => plugins/c-api}/verify_cert/verify_cert.cc (100%)
rename example/{ => plugins/c-api}/version/version.c (100%)
create mode 100644 example/plugins/cpp-api/Makefile.am
rename example/{cppapi => plugins/cpp-api}/async_http_fetch/AsyncHttpFetch.cc (100%)
rename example/{cppapi => plugins/cpp-api}/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc (100%)
rename example/{cppapi => plugins/cpp-api}/async_timer/AsyncTimer.cc (100%)
rename example/{cppapi => plugins/cpp-api}/boom/README.txt (100%)
rename example/{cppapi => plugins/cpp-api}/boom/boom.cc (100%)
rename example/{cppapi => plugins/cpp-api}/clientredirect/ClientRedirect.cc (100%)
rename example/{cppapi => plugins/cpp-api}/clientrequest/ClientRequest.cc (100%)
rename example/{cppapi => plugins/cpp-api}/custom_error_remap_plugin/CustomErrorRemapPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/customresponse/CustomResponse.cc (100%)
rename example/{cppapi => plugins/cpp-api}/delay_transformation_plugin/DelayTransformationPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/globalhook/GlobalHookPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/gzip_transformation/GzipTransformationPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/helloworld/HelloWorldPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/intercept/intercept.cc (100%)
rename example/{cppapi => plugins/cpp-api}/internal_transaction_handling/InternalTransactionHandling.cc (100%)
rename example/{cppapi => plugins/cpp-api}/logger_example/LoggerExample.cc (100%)
rename example/{cppapi => plugins/cpp-api}/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc (100%)
rename example/{cppapi => plugins/cpp-api}/null_transformation_plugin/NullTransformationPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/post_buffer/PostBuffer.cc (100%)
rename example/{cppapi => plugins/cpp-api}/remap_plugin/RemapPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/serverresponse/ServerResponse.cc (100%)
rename example/{cppapi => plugins/cpp-api}/stat_example/StatExample.cc (100%)
rename example/{cppapi => plugins/cpp-api}/timeout_example/TimeoutExamplePlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/transactionhook/TransactionHookPlugin.cc (100%)
rename example/{cppapi => plugins/cpp-api}/websocket/README.txt (100%)
rename example/{cppapi => plugins/cpp-api}/websocket/WSBuffer.cc (100%)
rename example/{cppapi => plugins/cpp-api}/websocket/WSBuffer.h (100%)
rename example/{cppapi => plugins/cpp-api}/websocket/WebSocket.cc (100%)
rename example/{cppapi => plugins/cpp-api}/websocket/WebSocket.h (100%)
create mode 100644 example/plugins/lua-api/connect_geoip.lua
create mode 100644 example/plugins/lua-api/connect_redis.lua
create mode 100644 example/plugins/lua-api/sorted_query_params.lua
create mode 100644 example/plugins/lua-api/uncompress.lua
create mode 100644 include/tscore/Errata.h
rename {lib/tsconfig => include/tscore}/IntrusivePtr.h (86%)
rename {lib/tsconfig => include/tscore}/NumericType.h (100%)
create mode 100644 iocore/net/libinknet_stub.cc
delete mode 100644 lib/tsconfig/BisonHeaderToC++.sed
delete mode 100644 lib/tsconfig/Errata.h
delete mode 100644 lib/tsconfig/Makefile.am
delete mode 100644 lib/tsconfig/TsBuilder.cc
delete mode 100644 lib/tsconfig/TsBuilder.h
delete mode 100644 lib/tsconfig/TsConfigGrammar.c
delete mode 100644 lib/tsconfig/TsConfigGrammar.h
delete mode 100644 lib/tsconfig/TsConfigGrammar.y
delete mode 100644 lib/tsconfig/TsConfigLexer.h
delete mode 100644 lib/tsconfig/TsConfigParseEvents.h
delete mode 100644 lib/tsconfig/TsConfigSyntax.c
delete mode 100644 lib/tsconfig/TsConfigSyntax.l
delete mode 100644 lib/tsconfig/TsConfigTypes.h
delete mode 100644 lib/tsconfig/TsErrataUtil.cc
delete mode 100644 lib/tsconfig/TsErrataUtil.h
delete mode 100644 lib/tsconfig/TsValue.cc
delete mode 100644 lib/tsconfig/TsValue.h
delete mode 100644 lib/tsconfig/test-1.tsconfig
delete mode 100644 lib/tsconfig/test-tsconfig.cc
create mode 100644 mgmt/ConfigManager.cc
create mode 100644 mgmt/ConfigManager.h
delete mode 100644 mgmt/Rollback.cc
delete mode 100644 mgmt/Rollback.h
create mode 100644 proxy/hdrs/unit_tests/test_HdrHeap.cc
rename {lib/tsconfig => src/tscore}/Errata.cc (60%)
create mode 100644 src/tscore/unit_tests/test_ParseRules.cc
rename tests/gold_tests/autest-site/min_cfg/{ssl_server_name.yaml => sni.yaml} (100%)
create mode 100644 tests/gold_tests/h2/gold/http2_8_stderr.gold
create mode 100644 tests/gold_tests/h2/gold/http2_8_stdout.gold
create mode 100644 tests/gold_tests/h2/rules/huge_resp_hdrs.conf
copy tests/gold_tests/{cont_schedule/schedule.test.py => shutdown/emergency.test.py} (54%)
copy tests/gold_tests/{cont_schedule/schedule.test.py => shutdown/fatal.test.py} (54%)
create mode 100644 tests/tools/plugins/emergency_shutdown.cc
create mode 100644 tests/tools/plugins/fatal_shutdown.cc
create mode 100755 tools/traffic_cacheable.pl