parent
e992bb78b9
commit
4dee11efe9
|
@ -1160,8 +1160,9 @@ func (c *PeerConn) mainReadLoop() (err error) {
|
|||
}
|
||||
|
||||
func (c *peer) remoteRejectedRequest(r request) {
|
||||
c.deleteRequest(r)
|
||||
if c.deleteRequest(r) {
|
||||
c.decExpectedChunkReceive(r)
|
||||
}
|
||||
}
|
||||
|
||||
func (c *peer) decExpectedChunkReceive(r request) {
|
||||
|
|
Loading…
Reference in New Issue