2017-09-18 11:42:42 +08:00
|
|
|
package torrent
|
|
|
|
|
|
|
|
import (
|
|
|
|
pp "github.com/anacrolix/torrent/peer_protocol"
|
|
|
|
)
|
|
|
|
|
2021-01-28 11:23:22 +08:00
|
|
|
func makeCancelMessage(r Request) pp.Message {
|
2017-09-18 11:42:42 +08:00
|
|
|
return pp.MakeCancelMessage(r.Index, r.Begin, r.Length)
|
|
|
|
}
|