You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2026/10/20 21:54:59 UTC
(thrift) branch master updated (ae74fc8e8 -> 6e2d46a41)
This is an automated email from the ASF dual-hosted git repository.
Jens-G pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from ae74fc8e8 End readAll() with EOF when the Qt device cannot deliver more Client: cpp
add 373b5956f Release the accelerator's partially-read values on a failed read Client: php
add 5e21d42ba Reject a header frame that declares more than one transform Client: cpp
add ddc176358 Read a JSON struct's fields with a cursor instead of rescanning the key list Client: nodejs
add 689a9c2be Check the declared length before skipping a string or binary field Client: java
add d29e7fc19 Expose the inner protocol's string and container length limits on THeaderProtocol Client: py
add f6a58395f Check declared JSON container sizes against the parsed message in JavaScript Client: js,ts
add 6e2d46a41 Keep a wire-supplied map key as an own member when a Node map is copied or written Client: js,nodejs,ts
No new revisions were added by this update.
Summary of changes:
compiler/cpp/src/thrift/generate/t_js_generator.cc | 6 +-
lib/cpp/src/thrift/transport/THeaderTransport.cpp | 10 +
lib/cpp/src/thrift/transport/THeaderTransport.h | 5 +
lib/cpp/test/TTransportFactoryConfigTest.cpp | 71 +++++++
.../apache/thrift/protocol/TBinaryProtocol.java | 1 +
.../apache/thrift/protocol/TCompactProtocol.java | 1 +
.../thrift/protocol/TestMessageSizeLimits.java | 128 +++++++++++++
lib/js/src/thrift.js | 42 ++++-
lib/js/test/container_size_limit.test.js | 208 +++++++++++++++++++++
lib/nodejs/lib/thrift/json_protocol.js | 41 ++--
lib/nodejs/lib/thrift/thrift.js | 25 ++-
lib/nodejs/test/json_field_lookup.test.js | 114 +++++++++++
lib/nodejs/test/map_keys.test.js | 84 +++++++++
lib/nodejs/test/testAll.sh | 1 +
.../ext/thrift_protocol/php_thrift_protocol.cpp | 44 ++++-
.../tests/container_element_cleanup.phpt | 157 ++++++++++++++++
lib/py/src/protocol/THeaderProtocol.py | 11 ++
lib/py/test/thrift_THeaderProtocol.py | 118 +++++++++++-
18 files changed, 1030 insertions(+), 37 deletions(-)
create mode 100644 lib/js/test/container_size_limit.test.js
create mode 100644 lib/nodejs/test/json_field_lookup.test.js
create mode 100644 lib/php/src/ext/thrift_protocol/tests/container_element_cleanup.phpt