influxdb/client/v2
Cameron Sparr 21db76b337 Prevent InfluxDB client from leaking TCP connections
If users properly call client.Close(), then this will make sure that
established tcp connections dont continually grow when creating new http
clients.

This fixes the case where users are creating new http clients on top of
existing _valid_ connections.

This was encountered in Telegraf when we were recreating our http
clients after getting write failures that were unrelated to the actual
connection being severed (such as typos in the retention policy, see
https://github.com/influxdata/telegraf/issues/1058)
2016-04-19 13:18:33 -06:00
..
client.go Prevent InfluxDB client from leaking TCP connections 2016-04-19 13:18:33 -06:00
client_test.go Ensure Client is safe for concurrent use 2016-04-12 14:23:32 +01:00
example_test.go Merge pull request #5617 from benbjohnson/influxdata 2016-02-10 13:29:46 -07:00