mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafthttp: fix streamHandle outgoingConn peerID (#12179)
This commit is contained in:
parent
bc67babee8
commit
6c81b20ec8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user