mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-12 12:50:28 +08:00
add istransfer option in link.Write
This commit is contained in:
@@ -27,6 +27,6 @@ func (l *Link) SendQuery(peers ...string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = l.Write(head.NewPacket(head.ProtoQuery, 0, l.peerip, 0, data))
|
||||
_, err = l.Write(head.NewPacket(head.ProtoQuery, 0, l.peerip, 0, data), false)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user