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 cc3ac7649 Apply maxStringSize to JSON strings and numbers Client: php
add 6e992c1d1 Stop reading a deferred frame until read buffer memory is
released Client: java
add 932cb7b2b Apply the string size limit to JSON strings and numbers
Client: lua
add cc385bfa9 Apply the maximum frame size to the inflated THeader payload
Client: go
add 6527ef050 Stop reading once the decompressed size limit of
TZlibTransport is used up Client: py
add 8fd0f9383 Check declared JSON container sizes against the parsed
message Client: nodejs
No new revisions were added by this update.
Summary of changes:
lib/go/thrift/header_transport.go | 41 +++
lib/go/thrift/header_transport_test.go | 144 ++++++++++
.../thrift/server/AbstractNonblockingServer.java | 77 ++++-
.../TestNonblockingServerReadBufferLimit.java | 309 +++++++++++++++++++++
lib/lua/TJsonProtocol.lua | 55 +++-
lib/lua/test/test_frame_and_string_limits.lua | 242 ++++++++++++++++
lib/nodejs/lib/thrift/json_protocol.js | 43 ++-
lib/nodejs/test/json_container_size.test.js | 268 ++++++++++++++++++
lib/nodejs/test/testAll.sh | 1 +
lib/py/src/transport/TZlibTransport.py | 10 +-
lib/py/test/thrift_TZlibTransport.py | 85 ++++++
11 files changed, 1258 insertions(+), 17 deletions(-)
create mode 100644
lib/java/src/test/java/org/apache/thrift/server/TestNonblockingServerReadBufferLimit.java
create mode 100644 lib/nodejs/test/json_container_size.test.js