Skip to content

Commit

Permalink
rafthttp: fix streamHandle outgoingConn peerID (#12179)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktming authored Jul 28, 2020
1 parent bc67bab commit 6c81b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/api/rafthttp/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (h *streamHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
Flusher: w.(http.Flusher),
Closer: c,
localID: h.tr.ID,
peerID: h.id,
peerID: from,
}
p.attachOutgoingConn(conn)
<-c.closeNotify()
Expand Down

0 comments on commit 6c81b20

Please sign in to comment.