]> Sergey Matveev's repositories - btrtrc.git/blobdiff - peer-impl.go
Wait for cancelled requests to be rejected per the spec
[btrtrc.git] / peer-impl.go
index 1dc154f705632eaa77da418aef825b962b48647a..23ced725fbcac4fa6d8c77dc9095e8baeae053f8 100644 (file)
@@ -14,7 +14,7 @@ type peerImpl interface {
 
        // Neither of these return buffer room anymore, because they're currently both posted. There's
        // also PeerConn.writeBufferFull for when/where it matters.
-       _cancel(Request) bool
+       _cancel(RequestIndex) bool
        _request(Request) bool
 
        connectionFlags() string