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 e1176aff9 Add a configurable maximum frame size to the Perl framed
transport Client: perl
add 638af7205 Apply the frame size limit to the Python Tornado transport
Client: py
add 94c623706 Hold the Python HTTP server's request body to a maximum size
Client: py
add 17079b3e5 Hold string reads in the Python binary and compact protocols
to a default limit Client: py
add 84f92f1c9 Hold string reads in the Perl binary protocol to a maximum
size Client: perl
add 7edf20d3f Hold string reads in the Ruby binary and compact protocols
to a maximum size Client: rb
add c7b00cde2 Hold string reads in the PHP binary and compact protocols to
a maximum size Client: php
add 3f41d4370 Add a configurable maximum frame size to the Python
TNonblockingServer Client: py
add 4ed900949 THRIFT-6230: Port the WebSocket frame reading fixes to the D
library Client: d
add 1c49cf426 Hold the Twisted protocols to the Python frame size limit
Client: py
add 88e104d28 Add a configurable maximum frame size to the Ruby
NonblockingServer Client: rb
add 85ef6ce55 Add a configurable maximum frame size to the D framed
transport Client: d
No new revisions were added by this update.
Summary of changes:
lib/d/README.md | 9 +
lib/d/src/thrift/transport/framed.d | 99 +++++
lib/d/src/thrift/transport/websocket.d | 412 +++++++++++++++------
lib/perl/README.md | 9 +
lib/perl/lib/Thrift/BinaryProtocol.pm | 34 +-
lib/perl/t/Makefile.am | 2 +-
lib/perl/t/string_size_limit.t | 118 ++++++
lib/php/README.md | 4 +
.../Factory/TBinaryProtocolAcceleratedFactory.php | 3 +-
lib/php/lib/Factory/TBinaryProtocolFactory.php | 3 +-
lib/php/lib/Factory/TCompactProtocolFactory.php | 7 +-
lib/php/lib/Protocol/TBinaryProtocol.php | 3 +
.../lib/Protocol/TBinaryProtocolAccelerated.php | 10 +-
lib/php/lib/Protocol/TCompactProtocol.php | 7 +-
lib/php/lib/Protocol/TProtocol.php | 21 ++
.../test/Unit/Lib/Protocol/StringSizeLimitTest.php | 205 ++++++++++
lib/py/Makefile.am | 10 +
lib/py/README.md | 34 ++
lib/py/src/TTornado.py | 32 +-
lib/py/src/protocol/TBinaryProtocol.py | 10 +-
lib/py/src/protocol/TCompactProtocol.py | 9 +-
lib/py/src/protocol/TProtocol.py | 9 +-
lib/py/src/server/THttpServer.py | 31 +-
lib/py/src/server/TNonblockingServer.py | 21 +-
lib/py/src/transport/TTwisted.py | 6 +-
lib/py/test/test_http_server_body_size.py | 167 +++++++++
lib/py/test/test_nonblocking_server_frame_size.py | 111 ++++++
lib/py/test/test_protocol_string_length_limit.py | 181 +++++++++
lib/py/test/test_tornado_frame_size.py | 201 ++++++++++
lib/py/test/test_twisted_frame_size.py | 102 +++++
lib/rb/README.md | 13 +
lib/rb/ext/binary_protocol_accelerated.c | 2 +
lib/rb/ext/compact_protocol.c | 1 +
lib/rb/ext/constants.h | 1 +
lib/rb/ext/macros.h | 11 +
lib/rb/ext/thrift_native.c | 2 +
lib/rb/lib/thrift/protocol/base_protocol.rb | 22 ++
lib/rb/lib/thrift/protocol/binary_protocol.rb | 14 +-
.../thrift/protocol/binary_protocol_accelerated.rb | 8 +-
lib/rb/lib/thrift/protocol/compact_protocol.rb | 13 +-
lib/rb/lib/thrift/server/nonblocking_server.rb | 34 +-
lib/rb/spec/compact_protocol_spec.rb | 2 +-
lib/rb/spec/nonblocking_server_spec.rb | 109 +++++-
lib/rb/spec/string_size_limit_spec.rb | 160 ++++++++
44 files changed, 2102 insertions(+), 160 deletions(-)
create mode 100644 lib/perl/t/string_size_limit.t
create mode 100644 lib/php/test/Unit/Lib/Protocol/StringSizeLimitTest.php
create mode 100644 lib/py/test/test_http_server_body_size.py
create mode 100644 lib/py/test/test_nonblocking_server_frame_size.py
create mode 100644 lib/py/test/test_protocol_string_length_limit.py
create mode 100644 lib/py/test/test_tornado_frame_size.py
create mode 100644 lib/py/test/test_twisted_frame_size.py
create mode 100644 lib/rb/spec/string_size_limit_spec.rb