This is an automated email from the ASF dual-hosted git repository.
yuxuan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 7ae180bb1 THRIFT-5609: Make TJSONProtocol safe to be used in
deserializer pool
add bdfde857a Add a generic sync.Pool wrapper to go library
No new revisions were added by this update.
Summary of changes:
lib/go/thrift/deserializer.go | 37 ++++++--------
lib/go/thrift/framed_transport.go | 10 ++--
lib/go/thrift/header_transport.go | 12 ++---
lib/go/thrift/http_client.go | 3 +-
lib/go/thrift/http_transport.go | 15 +++---
lib/go/thrift/{buf_pool.go => pool.go} | 59 ++++++++++++++--------
.../{header_protocol_test.go => pool_test.go} | 39 ++++++++------
lib/go/thrift/protocol_test.go | 6 +--
lib/go/thrift/serializer.go | 37 ++++++--------
lib/go/thrift/simple_server_test.go | 9 ++--
10 files changed, 117 insertions(+), 110 deletions(-)
rename lib/go/thrift/{buf_pool.go => pool.go} (52%)
copy lib/go/thrift/{header_protocol_test.go => pool_test.go} (62%)