Skip to content
/ etcd Public
forked from etcd-io/etcd

Commit

Permalink
embed: remove ReadTimeout TODO
Browse files Browse the repository at this point in the history
ref. golang/go#9524 (comment)

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Apr 13, 2017
1 parent 2dd361a commit 537c710
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions embed/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 537c710

Please sign in to comment.