open-consul/vendor/github.com/hashicorp
Pierre Souchay f77182aa51
Upgrade go-connlimit to v0.3.0 / return http 429 on too many connections (#8221)
Fixes #7527

I want to highlight this and explain what I think the implications are and make sure we are aware:

* `HTTPConnStateFunc` closes the connection when it is beyond the limit. `Close` does not block.
* `HTTPConnStateFuncWithDefault429Handler(10 * time.Millisecond)` blocks until the following is done (worst case):
  1) `conn.SetDeadline(10*time.Millisecond)` so that
  2) `conn.Write(429error)` is guaranteed to timeout after 10ms, so that the http 429 can be written and 
  3) `conn.Close` can happen

The implication of this change is that accepting any new connection is worst case delayed by 10ms. But only after a client reached the limit already.
2020-07-03 09:25:07 +02:00
..
errwrap
go-bexpr
go-checkpoint
go-cleanhttp
go-connlimit Upgrade go-connlimit to v0.3.0 / return http 429 on too many connections (#8221) 2020-07-03 09:25:07 +02:00
go-discover Update go-discover dependency (#7731) 2020-05-04 10:59:48 -04:00
go-hclog Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
go-immutable-radix Dependency: Update github.com/hashicorp/go-memdb to v1.0.3 (#6626) 2019-10-16 12:10:12 -04:00
go-memdb Update go-memdb and go-lru dependencies 2020-06-16 13:00:28 -04:00
go-msgpack
go-multierror agent: don't let left nodes hold onto their node-id (#7747) 2020-05-04 18:39:08 +02:00
go-raftchunking Revert "connect: support AWS PCA as a CA provider" (#6251) 2019-07-31 09:08:10 -04:00
go-retryablehttp connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491) 2019-09-23 12:04:40 -05:00
go-rootcerts api: add option to set TLS options in-memory for API client (#7093) 2020-01-28 11:54:49 +01:00
go-sockaddr connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491) 2019-09-23 12:04:40 -05:00
go-syslog
go-uuid acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
go-version Update github.com/joyent/triton-go to latest 2020-04-16 12:34:29 -04:00
golang-lru Update go-memdb and go-lru dependencies 2020-06-16 13:00:28 -04:00
hcl connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491) 2019-09-23 12:04:40 -05:00
hil
mdns
memberlist agent: don't let left nodes hold onto their node-id (#7747) 2020-05-04 18:39:08 +02:00
net-rpc-msgpackrpc
raft raft: update raft to v1.1.2 (#7079) 2020-01-20 13:58:02 +01:00
raft-boltdb
serf agent: don't let left nodes hold onto their node-id (#7747) 2020-05-04 18:39:08 +02:00
vault connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491) 2019-09-23 12:04:40 -05:00
vic
yamux