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