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 59da35a42 Keep serving after a connection ends Client: ocaml
add 4af34984f Close a SASL connection whose response evaluation fails
unexpectedly Client: java
add 1519d955a Skip exactly the declared number of container elements
Client: ocaml
add e9a10e67a Apply the maximum string size to JSON strings and numbers
Client: dart
add fe8014dcc Read maxStringSize in the protocol extension Client: php
add 6cfb0941f Apply the configured recursion limit when reading structs
Client: c_glib
add cc3ac7649 Apply maxStringSize to JSON strings and numbers Client: php
No new revisions were added by this update.
Summary of changes:
.../src/thrift/c_glib/protocol/thrift_protocol.c | 75 ++++-
.../src/thrift/c_glib/protocol/thrift_protocol.h | 15 +
lib/c_glib/src/thrift/c_glib/thrift_struct.c | 22 +-
lib/c_glib/test/CMakeLists.txt | 13 +
lib/c_glib/test/Makefile.am | 23 +-
.../test/RecursionLimitTest.thrift} | 15 +-
lib/c_glib/test/testrecursionlimit.c | 317 +++++++++++++++++++++
lib/dart/lib/src/protocol/t_json_protocol.dart | 17 +-
.../test/protocol/t_json_string_length_test.dart | 146 ++++++++++
.../transport/sasl/NonblockingSaslHandler.java | 2 +
.../TestSaslNonblockingServerEvaluateFailure.java | 239 ++++++++++++++++
lib/ocaml/src/Thrift.ml | 6 +-
lib/php/README.md | 4 +
lib/php/lib/Factory/TJSONProtocolFactory.php | 7 +-
lib/php/lib/Protocol/TJSONProtocol.php | 21 +-
lib/php/lib/Protocol/TProtocol.php | 9 +-
.../ext/thrift_protocol/php_thrift_protocol.cpp | 46 +++
.../ext/thrift_protocol/tests/string_field.phpt | 6 +-
.../thrift_protocol/tests/string_size_limit.phpt | 139 +++++++++
.../Unit/Lib/Protocol/JsonStringSizeLimitTest.php | 207 ++++++++++++++
20 files changed, 1291 insertions(+), 38 deletions(-)
copy lib/{php/test/Resources/RecursionDepth.thrift =>
c_glib/test/RecursionLimitTest.thrift} (77%)
create mode 100644 lib/c_glib/test/testrecursionlimit.c
create mode 100644 lib/dart/test/protocol/t_json_string_length_test.dart
create mode 100644
lib/java/src/test/java/org/apache/thrift/server/TestSaslNonblockingServerEvaluateFailure.java
create mode 100644 lib/php/src/ext/thrift_protocol/tests/string_size_limit.phpt
create mode 100644 lib/php/test/Unit/Lib/Protocol/JsonStringSizeLimitTest.php