mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add HeaderTimeout field in Config, so users could set timeout for each request. Before this, one hanged request may block the call for long time. After this, if the network is good, the user could set short timeout and expect that API call can attempt next available endpoint quickly.