goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.
MIT License
2.43k stars 479 forks source link

reuse the http client, otherwise it keeps making new connections till it... #129

Closed warioSG closed 11 years ago

warioSG commented 11 years ago

... runs out of resources.

This is a bug fix for the default http_transport. It fixes this issue in raftd https://github.com/goraft/raftd/issues/7, but it'll be a problem for anyone using this transport

xiang90 commented 11 years ago

@davew2 Thanks.