mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
embed: remove ReadTimeout TODO
ref. https://github.com/golang/go/issues/9524#issuecomment-271937649 Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
2dd361aba5
commit
537c7100b0
@ -341,8 +341,6 @@ func (e *Etcd) serve() (err error) {
|
||||
})
|
||||
}
|
||||
for _, sctx := range e.sctxs {
|
||||
// read timeout does not work with http close notify
|
||||
// TODO: https://github.com/golang/go/issues/9524
|
||||
go func(s *serveCtx) {
|
||||
e.errHandler(s.serve(e.Server, ctlscfg, v2h, e.errHandler))
|
||||
}(sctx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user