]> Sergey Matveev's repositories - btrtrc.git/commit
Remove requests from the outbound message queue if cancelled before they're written
authorMatt Joiner <anacrolix@gmail.com>
Wed, 28 May 2014 15:27:48 +0000 (01:27 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 28 May 2014 15:27:48 +0000 (01:27 +1000)
commitcfc282ff51d1967cae532b4c19e12ebc0fa239aa
tree06897d6bc38c0b6c1eaf945cfa8043f0146a25af
parentef69e827655fb65196f78aa0262961e3a5399e46
Remove requests from the outbound message queue if cancelled before they're written

Only post peer protocol messages to the channel, bytes must be done directly.
This fixes a possible issue where slow responses during handshake could cause
keep alive messages to be sent prematurely.
client.go
connection.go
connection_test.go [new file with mode: 0644]