samuel / go-zookeeper

Native ZooKeeper client for Go. This project is no longer maintained. Please use https://github.com/go-zookeeper/zk instead.
BSD 3-Clause "New" or "Revised" License
1.64k stars 672 forks source link

Some simple fixes #245

Open gengyl08 opened 4 years ago

gengyl08 commented 4 years ago
  1. flush unsent requests after closing connection
  2. directly returns error for new requests after session expires
  3. use net.JoinHostPort() to append default port