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