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/tutorial/go/src/client.go
generated
vendored
5
vendor/git.apache.org/thrift.git/tutorial/go/src/client.go
generated
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue