Fix call to wrong postCancel?
Looks like this would forget to also cancel the request on the peer, and only send the message.
This commit is contained in:
parent
d56087441e
commit
bbfc38c44a
|
@ -1393,7 +1393,7 @@ func (c *peer) receiveChunk(msg *pp.Message) error {
|
|||
|
||||
// Cancel pending requests for this chunk.
|
||||
for c := range t.conns {
|
||||
c._postCancel(req)
|
||||
c.postCancel(req)
|
||||
}
|
||||
|
||||
err := func() error {
|
||||
|
|
Loading…
Reference in New Issue