Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature. Also, the initial
implementation has a bug: if connections are not created continuously,
the latency accept will not work. Consider the following case:
a) set latency accept
b) put latency accept into effect
c) latency accept will start idling the goroutine
d) block-wait at accept() - waiting for new connections
e) new connection comes in - establish it
f) go to c -> as we can see, if the request come every x seconds, where
x is larger than the latency accept time we set, we can see that the
latency accept has no effect.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
This change makes the etcd package compatible with the existing Go
ecosystem for module versioning.
Used this tool to update package imports:
https://github.com/KSubedi/gomove