You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/10/10 18:01:13 UTC

[trafficserver] branch 10-Dev updated (2a0e8c685 -> 1bb416caf)

This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a change to branch 10-Dev
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


    from 2a0e8c685 Fix a bug in H3 event handling (#9125)
     add e14c0274f Change use of std::shared_mutex to ts::shared_mutex. (#9109)
     add d35a7798f s3_auth: Fix parsing of virtual_host (#9103)
     add 4fcb9b47d Fix HTTP/2 session receive window handling for small sizes (#9117)
     add e6d9c8e86 Initial Checkin for Wasm plugin (#8991)
     new 1bb416caf Merge latest ASF master into 10-Dev

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .lgtm.yml                                          |    1 +
 build/wavm.m4                                      |  170 +++
 configure.ac                                       |    3 +
 doc/admin-guide/plugins/index.en.rst               |    4 +
 doc/admin-guide/plugins/wasm.en.rst                |   95 ++
 include/tscore/JeAllocator.h                       |    1 -
 include/tscpp/util/TsSharedMutex.h                 |   30 +-
 iocore/hostdb/HostDB.cc                            |    1 +
 iocore/hostdb/P_HostDBProcessor.h                  |    5 +-
 iocore/net/P_TLSKeyLogger.h                        |    4 +-
 iocore/net/SSLSessionCache.cc                      |    5 +-
 iocore/net/SSLSessionCache.h                       |   10 +-
 iocore/net/TLSKeyLogger.cc                         |    1 +
 plugins/Makefile.am                                |    4 +
 plugins/experimental/wasm/Makefile.inc             |   54 +
 plugins/experimental/wasm/ats_context.cc           | 1508 ++++++++++++++++++++
 plugins/experimental/wasm/ats_context.h            |  219 +++
 plugins/experimental/wasm/ats_wasm.cc              |  143 ++
 plugins/experimental/wasm/ats_wasm.h               |   77 +
 plugins/experimental/wasm/examples/cpp/README.md   |    8 +
 .../experimental/wasm/examples/cpp/myproject.cc    |   85 ++
 .../experimental/wasm/examples/cpp/myproject.yaml  |   36 +-
 plugins/experimental/wasm/examples/rust/Cargo.toml |   32 +
 plugins/experimental/wasm/examples/rust/README.md  |   13 +
 .../experimental/wasm/examples/rust/myfilter.yaml  |   36 +-
 plugins/experimental/wasm/examples/rust/src/lib.rs |   83 ++
 plugins/experimental/wasm/lib/.clang-format        |    2 +
 .../wasm/lib/LICENSE.proxy-wasm-cpp-host           |  203 +++
 .../wasm/lib/LICENSE.proxy-wasm-cpp-sdk            |  203 +++
 .../wasm/lib/README.proxy-wasm-cpp-host.md         |    1 +
 .../wasm/lib/README.proxy-wasm-cpp-sdk.md          |  229 +++
 .../wasm/lib/include/proxy-wasm/bytecode_util.h    |   75 +
 .../wasm/lib/include/proxy-wasm/context.h          |  419 ++++++
 .../lib/include/proxy-wasm/context_interface.h     |  679 +++++++++
 .../wasm/lib/include/proxy-wasm/exports.h          |  244 ++++
 .../wasm/lib/include/proxy-wasm/limits.h           |   32 +
 .../wasm/lib/include/proxy-wasm/null.h             |   25 +
 .../wasm/lib/include/proxy-wasm/null_plugin.h      |  171 +++
 .../wasm/lib/include/proxy-wasm/null_vm.h          |   69 +
 .../wasm/lib/include/proxy-wasm/null_vm_plugin.h   |   44 +
 .../wasm/lib/include/proxy-wasm/signature_util.h   |   33 +
 .../experimental/wasm/lib/include/proxy-wasm/v8.h  |   26 +
 .../wasm/lib/include/proxy-wasm/vm_id_handle.h     |   36 +
 .../wasm/lib/include/proxy-wasm/wamr.h             |   26 +
 .../wasm/lib/include/proxy-wasm/wasm.h             |  439 ++++++
 .../wasm/lib/include/proxy-wasm/wasm_api_impl.h    |  292 ++++
 .../wasm/lib/include/proxy-wasm/wasm_vm.h          |  356 +++++
 .../wasm/lib/include/proxy-wasm/wasmedge.h         |   26 +
 .../wasm/lib/include/proxy-wasm/wasmtime.h         |   23 +
 .../wasm/lib/include/proxy-wasm/wavm.h             |   26 +
 .../wasm/lib/include/proxy-wasm/word.h             |   88 ++
 plugins/experimental/wasm/lib/proxy_wasm_common.h  |  112 ++
 plugins/experimental/wasm/lib/proxy_wasm_enums.h   |   74 +
 plugins/experimental/wasm/lib/src/bytecode_util.cc |  244 ++++
 plugins/experimental/wasm/lib/src/common/types.h   |   38 +
 plugins/experimental/wasm/lib/src/context.cc       |  529 +++++++
 plugins/experimental/wasm/lib/src/exports.cc       |  950 ++++++++++++
 plugins/experimental/wasm/lib/src/null/null.cc     |   24 +
 .../experimental/wasm/lib/src/null/null_plugin.cc  |  515 +++++++
 plugins/experimental/wasm/lib/src/null/null_vm.cc  |  115 ++
 plugins/experimental/wasm/lib/src/shared_data.cc   |  120 ++
 plugins/experimental/wasm/lib/src/shared_data.h    |   53 +
 plugins/experimental/wasm/lib/src/shared_queue.cc  |  154 ++
 plugins/experimental/wasm/lib/src/shared_queue.h   |   66 +
 .../experimental/wasm/lib/src/signature_util.cc    |  144 ++
 plugins/experimental/wasm/lib/src/v8/v8.cc         |  722 ++++++++++
 plugins/experimental/wasm/lib/src/vm_id_handle.cc  |   73 +
 plugins/experimental/wasm/lib/src/wamr/types.h     |   42 +
 plugins/experimental/wasm/lib/src/wamr/wamr.cc     |  649 +++++++++
 plugins/experimental/wasm/lib/src/wasm.cc          |  611 ++++++++
 plugins/experimental/wasm/lib/src/wasmedge/types.h |   29 +
 .../experimental/wasm/lib/src/wasmedge/wasmedge.cc |  614 ++++++++
 plugins/experimental/wasm/lib/src/wasmtime/types.h |   43 +
 .../experimental/wasm/lib/src/wasmtime/wasmtime.cc |  699 +++++++++
 plugins/experimental/wasm/lib/src/wavm/wavm.cc     |  491 +++++++
 plugins/experimental/wasm/wasm_main.cc             |  552 +++++++
 plugins/s3_auth/s3_auth.cc                         |    2 +-
 proxy/http2/Http2ConnectionState.cc                |   17 +-
 proxy/http2/Http2ConnectionState.h                 |   12 +
 tests/gold_tests/h2/http2_flow_control.replay.yaml |  237 +++
 tests/gold_tests/h2/http2_flow_control.test.py     |  211 +++
 .../s3_auth/gold/s3_auth_parsing_ts.gold           |    2 +-
 .../s3_auth/rules/v4-parse-test.test_input         |    5 +
 83 files changed, 14463 insertions(+), 81 deletions(-)
 create mode 100644 build/wavm.m4
 create mode 100644 doc/admin-guide/plugins/wasm.en.rst
 create mode 100755 plugins/experimental/wasm/Makefile.inc
 create mode 100644 plugins/experimental/wasm/ats_context.cc
 create mode 100644 plugins/experimental/wasm/ats_context.h
 create mode 100644 plugins/experimental/wasm/ats_wasm.cc
 create mode 100644 plugins/experimental/wasm/ats_wasm.h
 create mode 100755 plugins/experimental/wasm/examples/cpp/README.md
 create mode 100644 plugins/experimental/wasm/examples/cpp/myproject.cc
 copy .lgtm.yml => plugins/experimental/wasm/examples/cpp/myproject.yaml (57%)
 mode change 100644 => 100755
 create mode 100755 plugins/experimental/wasm/examples/rust/Cargo.toml
 create mode 100755 plugins/experimental/wasm/examples/rust/README.md
 copy .lgtm.yml => plugins/experimental/wasm/examples/rust/myfilter.yaml (57%)
 mode change 100644 => 100755
 create mode 100755 plugins/experimental/wasm/examples/rust/src/lib.rs
 create mode 100644 plugins/experimental/wasm/lib/.clang-format
 create mode 100644 plugins/experimental/wasm/lib/LICENSE.proxy-wasm-cpp-host
 create mode 100644 plugins/experimental/wasm/lib/LICENSE.proxy-wasm-cpp-sdk
 create mode 100644 plugins/experimental/wasm/lib/README.proxy-wasm-cpp-host.md
 create mode 100644 plugins/experimental/wasm/lib/README.proxy-wasm-cpp-sdk.md
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/bytecode_util.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/context.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/context_interface.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/exports.h
 create mode 100755 plugins/experimental/wasm/lib/include/proxy-wasm/limits.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/null.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/null_plugin.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/null_vm.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/null_vm_plugin.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/signature_util.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/v8.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/vm_id_handle.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wamr.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wasm_api_impl.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wasm_vm.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wasmedge.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wasmtime.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/wavm.h
 create mode 100644 plugins/experimental/wasm/lib/include/proxy-wasm/word.h
 create mode 100644 plugins/experimental/wasm/lib/proxy_wasm_common.h
 create mode 100644 plugins/experimental/wasm/lib/proxy_wasm_enums.h
 create mode 100644 plugins/experimental/wasm/lib/src/bytecode_util.cc
 create mode 100644 plugins/experimental/wasm/lib/src/common/types.h
 create mode 100644 plugins/experimental/wasm/lib/src/context.cc
 create mode 100644 plugins/experimental/wasm/lib/src/exports.cc
 create mode 100644 plugins/experimental/wasm/lib/src/null/null.cc
 create mode 100644 plugins/experimental/wasm/lib/src/null/null_plugin.cc
 create mode 100644 plugins/experimental/wasm/lib/src/null/null_vm.cc
 create mode 100644 plugins/experimental/wasm/lib/src/shared_data.cc
 create mode 100644 plugins/experimental/wasm/lib/src/shared_data.h
 create mode 100644 plugins/experimental/wasm/lib/src/shared_queue.cc
 create mode 100644 plugins/experimental/wasm/lib/src/shared_queue.h
 create mode 100644 plugins/experimental/wasm/lib/src/signature_util.cc
 create mode 100644 plugins/experimental/wasm/lib/src/v8/v8.cc
 create mode 100644 plugins/experimental/wasm/lib/src/vm_id_handle.cc
 create mode 100644 plugins/experimental/wasm/lib/src/wamr/types.h
 create mode 100644 plugins/experimental/wasm/lib/src/wamr/wamr.cc
 create mode 100644 plugins/experimental/wasm/lib/src/wasm.cc
 create mode 100644 plugins/experimental/wasm/lib/src/wasmedge/types.h
 create mode 100644 plugins/experimental/wasm/lib/src/wasmedge/wasmedge.cc
 create mode 100644 plugins/experimental/wasm/lib/src/wasmtime/types.h
 create mode 100644 plugins/experimental/wasm/lib/src/wasmtime/wasmtime.cc
 create mode 100644 plugins/experimental/wasm/lib/src/wavm/wavm.cc
 create mode 100644 plugins/experimental/wasm/wasm_main.cc
 create mode 100644 tests/gold_tests/h2/http2_flow_control.replay.yaml
 create mode 100644 tests/gold_tests/h2/http2_flow_control.test.py


[trafficserver] 01/01: Merge latest ASF master into 10-Dev

Posted by bn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch 10-Dev
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 1bb416cafa2845c9469f6ad444f1e4cc0edb40a6
Merge: 2a0e8c685 e6d9c8e86
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Mon Oct 10 17:59:28 2022 +0000

    Merge latest ASF master into 10-Dev
    
    Conflicts:
          configure.ac

 .lgtm.yml                                          |    1 +
 build/wavm.m4                                      |  170 +++
 configure.ac                                       |    3 +
 doc/admin-guide/plugins/index.en.rst               |    4 +
 doc/admin-guide/plugins/wasm.en.rst                |   95 ++
 include/tscore/JeAllocator.h                       |    1 -
 include/tscpp/util/TsSharedMutex.h                 |   30 +-
 iocore/hostdb/HostDB.cc                            |    1 +
 iocore/hostdb/P_HostDBProcessor.h                  |    5 +-
 iocore/net/P_TLSKeyLogger.h                        |    4 +-
 iocore/net/SSLSessionCache.cc                      |    5 +-
 iocore/net/SSLSessionCache.h                       |   10 +-
 iocore/net/TLSKeyLogger.cc                         |    1 +
 plugins/Makefile.am                                |    4 +
 plugins/experimental/wasm/Makefile.inc             |   54 +
 plugins/experimental/wasm/ats_context.cc           | 1508 ++++++++++++++++++++
 plugins/experimental/wasm/ats_context.h            |  219 +++
 plugins/experimental/wasm/ats_wasm.cc              |  143 ++
 plugins/experimental/wasm/ats_wasm.h               |   77 +
 plugins/experimental/wasm/examples/cpp/README.md   |    8 +
 .../experimental/wasm/examples/cpp/myproject.cc    |   85 ++
 .../experimental/wasm/examples/cpp/myproject.yaml  |   36 +-
 plugins/experimental/wasm/examples/rust/Cargo.toml |   32 +
 plugins/experimental/wasm/examples/rust/README.md  |   13 +
 .../experimental/wasm/examples/rust/myfilter.yaml  |   36 +-
 plugins/experimental/wasm/examples/rust/src/lib.rs |   83 ++
 plugins/experimental/wasm/lib/.clang-format        |    2 +
 .../wasm/lib/LICENSE.proxy-wasm-cpp-host           |  203 +++
 .../wasm/lib/LICENSE.proxy-wasm-cpp-sdk            |  203 +++
 .../wasm/lib/README.proxy-wasm-cpp-host.md         |    1 +
 .../wasm/lib/README.proxy-wasm-cpp-sdk.md          |  229 +++
 .../wasm/lib/include/proxy-wasm/bytecode_util.h    |   75 +
 .../wasm/lib/include/proxy-wasm/context.h          |  419 ++++++
 .../lib/include/proxy-wasm/context_interface.h     |  679 +++++++++
 .../wasm/lib/include/proxy-wasm/exports.h          |  244 ++++
 .../wasm/lib/include/proxy-wasm/limits.h           |   32 +
 .../wasm/lib/include/proxy-wasm/null.h             |   25 +
 .../wasm/lib/include/proxy-wasm/null_plugin.h      |  171 +++
 .../wasm/lib/include/proxy-wasm/null_vm.h          |   69 +
 .../wasm/lib/include/proxy-wasm/null_vm_plugin.h   |   44 +
 .../wasm/lib/include/proxy-wasm/signature_util.h   |   33 +
 .../experimental/wasm/lib/include/proxy-wasm/v8.h  |   26 +
 .../wasm/lib/include/proxy-wasm/vm_id_handle.h     |   36 +
 .../wasm/lib/include/proxy-wasm/wamr.h             |   26 +
 .../wasm/lib/include/proxy-wasm/wasm.h             |  439 ++++++
 .../wasm/lib/include/proxy-wasm/wasm_api_impl.h    |  292 ++++
 .../wasm/lib/include/proxy-wasm/wasm_vm.h          |  356 +++++
 .../wasm/lib/include/proxy-wasm/wasmedge.h         |   26 +
 .../wasm/lib/include/proxy-wasm/wasmtime.h         |   23 +
 .../wasm/lib/include/proxy-wasm/wavm.h             |   26 +
 .../wasm/lib/include/proxy-wasm/word.h             |   88 ++
 plugins/experimental/wasm/lib/proxy_wasm_common.h  |  112 ++
 plugins/experimental/wasm/lib/proxy_wasm_enums.h   |   74 +
 plugins/experimental/wasm/lib/src/bytecode_util.cc |  244 ++++
 plugins/experimental/wasm/lib/src/common/types.h   |   38 +
 plugins/experimental/wasm/lib/src/context.cc       |  529 +++++++
 plugins/experimental/wasm/lib/src/exports.cc       |  950 ++++++++++++
 plugins/experimental/wasm/lib/src/null/null.cc     |   24 +
 .../experimental/wasm/lib/src/null/null_plugin.cc  |  515 +++++++
 plugins/experimental/wasm/lib/src/null/null_vm.cc  |  115 ++
 plugins/experimental/wasm/lib/src/shared_data.cc   |  120 ++
 plugins/experimental/wasm/lib/src/shared_data.h    |   53 +
 plugins/experimental/wasm/lib/src/shared_queue.cc  |  154 ++
 plugins/experimental/wasm/lib/src/shared_queue.h   |   66 +
 .../experimental/wasm/lib/src/signature_util.cc    |  144 ++
 plugins/experimental/wasm/lib/src/v8/v8.cc         |  722 ++++++++++
 plugins/experimental/wasm/lib/src/vm_id_handle.cc  |   73 +
 plugins/experimental/wasm/lib/src/wamr/types.h     |   42 +
 plugins/experimental/wasm/lib/src/wamr/wamr.cc     |  649 +++++++++
 plugins/experimental/wasm/lib/src/wasm.cc          |  611 ++++++++
 plugins/experimental/wasm/lib/src/wasmedge/types.h |   29 +
 .../experimental/wasm/lib/src/wasmedge/wasmedge.cc |  614 ++++++++
 plugins/experimental/wasm/lib/src/wasmtime/types.h |   43 +
 .../experimental/wasm/lib/src/wasmtime/wasmtime.cc |  699 +++++++++
 plugins/experimental/wasm/lib/src/wavm/wavm.cc     |  491 +++++++
 plugins/experimental/wasm/wasm_main.cc             |  552 +++++++
 plugins/s3_auth/s3_auth.cc                         |    2 +-
 proxy/http2/Http2ConnectionState.cc                |   17 +-
 proxy/http2/Http2ConnectionState.h                 |   12 +
 tests/gold_tests/h2/http2_flow_control.replay.yaml |  237 +++
 tests/gold_tests/h2/http2_flow_control.test.py     |  211 +++
 .../s3_auth/gold/s3_auth_parsing_ts.gold           |    2 +-
 .../s3_auth/rules/v4-parse-test.test_input         |    5 +
 83 files changed, 14463 insertions(+), 81 deletions(-)

diff --cc configure.ac
index 655051c03,0bc472ec9..d4efce19d
--- a/configure.ac
+++ b/configure.ac
@@@ -1437,16 -1437,9 +1437,19 @@@ TS_CHECK_BROTL
  # Check for optional luajit library
  TS_CHECK_LUAJIT
  
 +# Check for optional quiche library
 +TS_CHECK_QUICHE
 +if test "${has_quiche}" = "1"; then
 +enable_quic=yes
 +## Doing these again for Quiche
 +AM_CONDITIONAL([ENABLE_QUIC], [test "x$enable_quic" = "xyes"])
 +TS_ARG_ENABLE_VAR([use], [quic])
 +AC_SUBST(use_quic)
 +fi
 +
+ # Check for optional WAVM library
+ TS_CHECK_WAVM
+ 
  #
  # Enable experimental/uri_signing plugin
  # This is here, instead of above, because it needs to know if PCRE is available.