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/01/30 07:08:58 UTC

[trafficserver] branch quic-latest updated (8e1dd61 -> d233b3f)

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 8e1dd61  Count CIDs used on Initial and PreferredAddress as active CIDs
     add f2716fa  Doc bugs
     add bd72eae  Fix closed flag from #6287
     add 4bdabd5  Clear all pointers in API Hooks clear function.
     add ea3aa04  Add simple autest and subsequent fixes
     add 8236813  TLSv1.3 0-RTT support (#5450)
     add 4d06ce6  Fixes clang-format issues
     add d34a32c  Add tests to exercise H2 and chunked encoding
     add cf3d098  Merge pull request #6268 from shinrich/add_h2_chunked_encoding_test
     add c3590f1  Add new log field to output server name sent by client in TLS handshake.
     add 284a6a8  Improvements on ESI plugin
     add 2787e40  Remove unused variable
     add 6b7b61b  fix freebsd build error
     add 7236e78  Simple and miscellaneous fixes/additions for lua plugin
     add 9d21c10  fix doc build error
     add 20eb4c7  remove dequeue_timed since it is not being used anymore
     add 47e9d30  Fix strict round robin cur_index increment
     add 37061d8  Fixes typo in TLS Bridge illustration
     add 3418938  Fixed build issues on macOS after 0-RTT merge
     add 52a779c  Adding max line length configuration documentation.
     add 15a6890  Make compress plugin normalization of Accept-Encoding header compatible with normalization in core TS.
     add 473e054  Fix problems with "Probe" option for X-Debug MIME header field. (#6197)
     add 98893b6  Fixes Issue #6321 caused when proxy.config.http.no_dns_just_forward_to_parent is enabled.  When this configuration variable is enabled, a parent selection strategies findParent() function is called twice on each transaction resulting in unexpected results such as every other parent is only used in a strict round robin strategy.
     add 504cc9f  Fixes an issue where NextHopSelectionStrategy did not implement an available nexthop or parent check when proxy.config.http.no_dns_just_forward_to_parent is enabled.
     add aa27fea  Fixes an issue where a debug build of ATS will fail the assertion in HttpTransact::handle_parent_died() when proxy.config.http.no_dns_just_forward_to_parent is enabled and there is no parent.config or strategy rule for the request. Also this provides a log warning for both debug and release builds of this condition.
     add 48bcbe6  Perf: Optimize sending HTTP/2 frame
     add 11aeedf  Add virtual destructors for Http2TxFrame, Http2FrequencyCounter
     add ca67471  Fix heap-use-after-free on Http2Stream::destroy()
     add 7d46379  Update git-versions
     add 0e64d36  Add header guard (#6358)
     add 12c967f  Change localtime/gmtime usages to use the threadsafe versions with local storage (#6362)
     add 2328337  Cleanup: Remove empty function
     add 214adcf  Merge pull request #6360 from masaori335/httpsm-cleanup-1
     add 6d64842  Removing always true/false comparisons (#6363)
     add baf9d4b  Cleanup: Remove unused accessors of HttpVCTableEntry
     add 2e12020  Fixing shadowed variables, both global and local: (#6371)
     add 614bbe0  Change alloca usage to malloc/free
     add 5cf7315  Merge branch 'master' into quic-latest
     add d233b3f  Fix a bug in Stateless Reset Packet generation

No new revisions were added by this update.

Summary of changes:
 build/crypto.m4                                    |  28 ++
 configure.ac                                       |   3 +
 doc/admin-guide/files/records.config.en.rst        |  18 ++
 doc/admin-guide/logging/examples.en.rst            |   5 +-
 doc/admin-guide/logging/formatting.en.rst          |  37 +++
 doc/admin-guide/plugins/lua.en.rst                 |  77 ++++-
 .../monitoring/logging/summary-logs.en.po          |   4 +-
 doc/release-notes/images/git-versions.drawio.xml   |  20 ++
 doc/release-notes/images/git-versions.png          | Bin 82979 -> 0 bytes
 doc/release-notes/images/git-versions.svg          |   3 +
 doc/release-notes/roadmap.en.rst                   |   2 +-
 doc/uml/TLS-Bridge-Messages.uml                    |   2 +-
 include/tscore/EnumDescriptor.h                    |   2 +
 include/tscore/ink_config.h.in                     |   1 +
 iocore/eventsystem/IOBuffer.cc                     |   2 +-
 iocore/eventsystem/I_ProtectedQueue.h              |   1 -
 iocore/eventsystem/ProtectedQueue.cc               |  10 -
 iocore/hostdb/HostDB.cc                            |   4 +-
 iocore/net/NetEvent.h                              |   2 +-
 iocore/net/P_SSLConfig.h                           |   6 +
 iocore/net/P_SSLNetVConnection.h                   |   9 +
 iocore/net/SSLConfig.cc                            |  13 +-
 iocore/net/SSLNetVConnection.cc                    |  44 +++
 iocore/net/SSLSessionTicket.cc                     |  15 +-
 iocore/net/SSLStats.cc                             |  12 +-
 iocore/net/SSLStats.h                              |   1 +
 iocore/net/SSLUtils.cc                             | 160 ++++++++++-
 iocore/net/UnixNetAccept.cc                        |   6 +-
 iocore/net/quic/QUICPacket.cc                      |   1 +
 mgmt/LocalManager.cc                               |   3 +-
 mgmt/RecordsConfig.cc                              |   5 +-
 plugins/background_fetch/background_fetch.cc       |   4 +-
 plugins/compress/misc.cc                           |  76 +++--
 plugins/esi/Makefile.inc                           |   2 -
 plugins/esi/combo_handler.cc                       |  13 +-
 plugins/esi/esi.cc                                 |  31 +-
 plugins/esi/fetcher/HttpDataFetcherImpl.cc         |  23 +-
 plugins/esi/fetcher/HttpDataFetcherImpl.h          |   3 +-
 plugins/esi/lib/EsiProcessor.cc                    | 122 +-------
 plugins/esi/lib/EsiProcessor.h                     |   3 -
 plugins/esi/lib/FailureInfo.cc                     | 105 -------
 plugins/esi/lib/FailureInfo.h                      | 112 --------
 plugins/esi/test/docnode_test.cc                   |   3 -
 plugins/esi/test/gzip_test.cc                      |   3 -
 plugins/esi/test/parser_test.cc                    |   3 -
 plugins/esi/test/processor_test.cc                 |   3 -
 plugins/esi/test/utils_test.cc                     |   3 -
 plugins/esi/test/vars_test.cc                      |   3 -
 plugins/experimental/memcache/tsmemcache.cc        |  10 +-
 plugins/experimental/uri_signing/common.h          |   7 +-
 plugins/experimental/uri_signing/config.c          |   1 -
 plugins/experimental/uri_signing/parse.c           |   4 +-
 plugins/experimental/uri_signing/parse.h           |   2 +
 .../uri_signing/python_signer/uri_signer.py        | 128 ++++++---
 plugins/experimental/uri_signing/uri_signing.c     |  61 ++--
 plugins/header_rewrite/conditions.cc               |  16 +-
 plugins/lua/Makefile.inc                           |   1 +
 plugins/lua/ts_lua.c                               |  16 +-
 plugins/lua/ts_lua_client_request.c                |   2 +-
 plugins/lua/ts_lua_client_response.c               |   2 +-
 plugins/lua/ts_lua_fetch.c                         |   4 +-
 plugins/lua/ts_lua_http.c                          |  41 ++-
 plugins/lua/ts_lua_http_config.c                   |   2 +-
 plugins/lua/ts_lua_http_intercept.c                |  15 +-
 plugins/lua/ts_lua_http_txn_info.c                 |  76 +++++
 .../lua/{ts_lua_hook.h => ts_lua_http_txn_info.h}  |   2 +-
 plugins/lua/ts_lua_log.c                           |   4 +-
 plugins/lua/ts_lua_misc.c                          |  40 ++-
 plugins/lua/ts_lua_package.c                       |   4 +-
 plugins/lua/ts_lua_server_request.c                |   2 +-
 plugins/lua/ts_lua_server_response.c               |   2 +-
 plugins/lua/ts_lua_transform.c                     |   9 +-
 plugins/lua/ts_lua_util.c                          |  11 +-
 plugins/multiplexer/dispatch.cc                    |   6 +-
 plugins/xdebug/Cleanup.h                           | 186 ++++++++++++
 plugins/xdebug/Makefile.inc                        |   4 +-
 plugins/xdebug/xdebug.cc                           |  69 +++--
 plugins/xdebug/xdebug_transforms.cc                |  44 +--
 proxy/Makefile.am                                  |   3 +
 proxy/ParentRoundRobin.cc                          |   4 +-
 proxy/ParentSelection.cc                           |  42 ++-
 proxy/ProxySession.cc                              |  13 +
 proxy/ProxySession.h                               |  18 ++
 proxy/ProxyTransaction.cc                          |   4 +-
 proxy/ProxyTransaction.h                           |   2 +-
 proxy/hdrs/HTTP.h                                  |  26 ++
 proxy/hdrs/HdrTest.cc                              |  12 +-
 proxy/hdrs/HdrToken.cc                             |  10 +-
 proxy/hdrs/MIME.cc                                 |  22 +-
 proxy/hdrs/MIME.h                                  |   6 +-
 proxy/http/Http1ClientSession.cc                   |  10 +-
 proxy/http/Http1ClientSession.h                    |   2 +
 proxy/http/HttpSM.cc                               |  35 ++-
 proxy/http/HttpSM.h                                |  38 +--
 proxy/http/HttpTransact.cc                         |  37 ++-
 proxy/http/HttpTransact.h                          |   1 +
 proxy/http/remap/NextHopSelectionStrategy.cc       |  21 +-
 proxy/http/remap/NextHopSelectionStrategy.h        |   1 +
 proxy/http/remap/RemapConfig.cc                    |   5 -
 .../remap/unit-tests/test_NextHopRoundRobin.cc     |  21 +-
 proxy/http2/HTTP2.cc                               |  18 --
 proxy/http2/HTTP2.h                                |   7 +-
 proxy/http2/Http2ClientSession.cc                  |  54 +++-
 proxy/http2/Http2ClientSession.h                   |  85 +-----
 proxy/http2/Http2ConnectionState.cc                | 200 +++++--------
 proxy/http2/Http2Frame.cc                          | 253 +++++++++++++++++
 proxy/http2/Http2Frame.h                           | 253 +++++++++++++++++
 proxy/http2/Http2FrequencyCounter.h                |   1 +
 proxy/http2/Http2Stream.cc                         |   8 +-
 proxy/http2/Makefile.am                            |   2 +
 proxy/logging/Log.cc                               |   5 +
 proxy/logging/LogAccess.cc                         |  32 +++
 proxy/logging/LogAccess.h                          |   1 +
 .../cache_promote => proxy/private}/Makefile.inc   |   8 +-
 .../private/SSLProxySession.cc                     |  31 +-
 .../SSLProxySession.h}                             |  31 +-
 src/traffic_cache_tool/CacheTool.cc                |  10 +-
 src/traffic_logcat/logcat.cc                       |  12 +-
 src/traffic_quic/traffic_quic.cc                   |   2 +-
 src/traffic_server/InkAPI.cc                       |  11 +-
 src/traffic_server/traffic_server.cc               |  18 +-
 src/traffic_top/traffic_top.cc                     |  14 +-
 src/tscore/IpMap.cc                                |  62 ++--
 tests/Pipfile                                      |   1 +
 .../gold_tests/chunked_encoding/case1.sh           |   6 +-
 .../gold_tests/chunked_encoding/case2.sh           |   6 +-
 .../gold_tests/chunked_encoding/case3.sh           |   6 +-
 .../chunked_encoding/chunked_encoding.test.py      |   2 +-
 .../chunked_encoding/chunked_encoding_h2.test.py   | 106 +++++++
 .../gold_tests/chunked_encoding/delay-server.sh    |   7 +-
 .../gold_tests/chunked_encoding/server2.sh         |   5 +-
 .../gold_tests/chunked_encoding/server3.sh         |   5 +-
 .../{ccid_ctid.test.py => new_log_flds.test.py}    |  27 +-
 ...d_ctid_observer.py => new_log_flds_observer.py} |  17 +-
 tests/gold_tests/pluginTest/compress/compress.gold | 183 +++---------
 .../pluginTest/compress/compress.test.py           | 139 +++++----
 .../pluginTest/compress/compress_userver.gold      |  21 ++
 .../gold_tests/pluginTest/uri_signing/config.json  |  27 ++
 .../pluginTest/uri_signing/gold/200.gold           |  13 +
 .../pluginTest/uri_signing/gold/403.gold           |  16 ++
 .../gold_tests/pluginTest/uri_signing/run_sign.sh  | 104 +++++++
 .../gold_tests/pluginTest/uri_signing/signer.json  |  18 ++
 .../pluginTest/uri_signing/uri_signing.test.py     | 208 ++++++++++++++
 tests/gold_tests/pluginTest/xdebug/x_remap/four.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/fwd1.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/fwd2.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/fwd3.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/fwd4.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/fwd5.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/none.in |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/one.in  |   3 +-
 .../gold_tests/pluginTest/xdebug/x_remap/out.gold  | 315 ++++++++++++++++++++-
 .../gold_tests/pluginTest/xdebug/x_remap/three.in  |   3 +-
 tests/gold_tests/pluginTest/xdebug/x_remap/two.in  |   3 +-
 .../pluginTest/xdebug/x_remap/x_remap.gold         |   6 +-
 .../pluginTest/xdebug/x_remap/x_remap.test.py      |   4 +-
 tests/gold_tests/tls/early_h1_get.txt              |   3 +
 tests/gold_tests/tls/early_h1_post.txt             |   6 +
 tests/gold_tests/tls/early_h2_get.txt              | Bin 0 -> 77 bytes
 tests/gold_tests/tls/early_h2_multi1.txt           | Bin 0 -> 172 bytes
 tests/gold_tests/tls/early_h2_multi2.txt           | Bin 0 -> 170 bytes
 tests/gold_tests/tls/early_h2_post.txt             | Bin 0 -> 77 bytes
 tests/gold_tests/tls/h2_early_decode.py            | 257 +++++++++++++++++
 tests/gold_tests/tls/h2_early_gen.py               | 185 ++++++++++++
 tests/gold_tests/tls/test-0rtt-s_client.py         |  69 +++++
 tests/gold_tests/tls/tls_0rtt_server.test.py       | 193 +++++++++++++
 tools/http_load/http_load.c                        |   4 +-
 tools/jtest/jtest.cc                               |   8 +-
 168 files changed, 3896 insertions(+), 1331 deletions(-)
 create mode 100644 doc/release-notes/images/git-versions.drawio.xml
 delete mode 100644 doc/release-notes/images/git-versions.png
 create mode 100644 doc/release-notes/images/git-versions.svg
 delete mode 100644 plugins/esi/lib/FailureInfo.cc
 delete mode 100644 plugins/esi/lib/FailureInfo.h
 create mode 100644 plugins/lua/ts_lua_http_txn_info.c
 copy plugins/lua/{ts_lua_hook.h => ts_lua_http_txn_info.h} (94%)
 create mode 100644 plugins/xdebug/Cleanup.h
 create mode 100644 proxy/http2/Http2Frame.cc
 create mode 100644 proxy/http2/Http2Frame.h
 copy {plugins/cache_promote => proxy/private}/Makefile.inc (82%)
 copy iocore/net/SSLNetAccept.cc => proxy/private/SSLProxySession.cc (69%)
 copy proxy/{logging/YamlLogConfigDecoders.h => private/SSLProxySession.h} (67%)
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/case1.sh (87%)
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/case2.sh (83%)
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/case3.sh (82%)
 create mode 100644 tests/gold_tests/chunked_encoding/chunked_encoding_h2.test.py
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/delay-server.sh (86%)
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/server2.sh (91%)
 copy example/plugins/Makefile.am => tests/gold_tests/chunked_encoding/server3.sh (88%)
 rename tests/gold_tests/logging/{ccid_ctid.test.py => new_log_flds.test.py} (77%)
 rename tests/gold_tests/logging/{ccid_ctid_observer.py => new_log_flds_observer.py} (76%)
 create mode 100644 tests/gold_tests/pluginTest/compress/compress_userver.gold
 create mode 100644 tests/gold_tests/pluginTest/uri_signing/config.json
 create mode 100644 tests/gold_tests/pluginTest/uri_signing/gold/200.gold
 create mode 100644 tests/gold_tests/pluginTest/uri_signing/gold/403.gold
 create mode 100755 tests/gold_tests/pluginTest/uri_signing/run_sign.sh
 create mode 100644 tests/gold_tests/pluginTest/uri_signing/signer.json
 create mode 100644 tests/gold_tests/pluginTest/uri_signing/uri_signing.test.py
 create mode 100644 tests/gold_tests/tls/early_h1_get.txt
 create mode 100644 tests/gold_tests/tls/early_h1_post.txt
 create mode 100644 tests/gold_tests/tls/early_h2_get.txt
 create mode 100644 tests/gold_tests/tls/early_h2_multi1.txt
 create mode 100644 tests/gold_tests/tls/early_h2_multi2.txt
 create mode 100644 tests/gold_tests/tls/early_h2_post.txt
 create mode 100755 tests/gold_tests/tls/h2_early_decode.py
 create mode 100755 tests/gold_tests/tls/h2_early_gen.py
 create mode 100644 tests/gold_tests/tls/test-0rtt-s_client.py
 create mode 100644 tests/gold_tests/tls/tls_0rtt_server.test.py