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:
Renan DelValle 2018-08-21 08:20:41 -07:00 committed by GitHub
parent 1c2b1c5079
commit 98d2fa2dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 351 additions and 179 deletions

View file

@ -90,7 +90,10 @@ func runClient(transportFactory thrift.TTransportFactory, protocolFactory thrift
fmt.Println("Error opening socket:", err)
return err
}
transport = transportFactory.GetTransport(transport)
transport, err = transportFactory.GetTransport(transport)
if err != nil {
return err
}
defer transport.Close()
if err := transport.Open(); err != nil {
return err