Forking Thrift Go library to use 0.10.0 with THRIFT-4215 and THRIFT-4219 on top of it in hopes of fixing a stray nil buffer error. (#72)
This should fix #65
This commit is contained in:
parent
1c2b1c5079
commit
98d2fa2dd7
23 changed files with 351 additions and 179 deletions
5
vendor/git.apache.org/thrift.git/lib/go/test/tests/protocols_test.go
generated
vendored
5
vendor/git.apache.org/thrift.git/lib/go/test/tests/protocols_test.go
generated
vendored
|
@ -42,7 +42,10 @@ func RunSocketTestSuite(t *testing.T, protocolFactory thrift.TProtocolFactory,
|
|||
|
||||
// client
|
||||
var transport thrift.TTransport = thrift.NewTSocketFromAddrTimeout(addr, TIMEOUT)
|
||||
transport = transportFactory.GetTransport(transport)
|
||||
transport, err = transportFactory.GetTransport(transport)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
var protocol thrift.TProtocol = protocolFactory.GetProtocol(transport)
|
||||
thriftTestClient := thrifttest.NewThriftTestClientProtocol(transport, protocol, protocol)
|
||||
err = transport.Open()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue