]> Sergey Matveev's repositories - btrtrc.git/commit
tracker/udp: Panic on read errors if ConnClient not closed
authorMatt Joiner <anacrolix@gmail.com>
Mon, 22 Nov 2021 21:35:45 +0000 (08:35 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 22 Nov 2021 21:35:45 +0000 (08:35 +1100)
commitaaec4dbd80100702f8a230b0a21309726caeaadb
tree2d89e64580a0534d2786560b4a52d513954064dc
parent615669ecf8e8852d31a0bd3d45fe8c914b4c3aaf
tracker/udp: Panic on read errors if ConnClient not closed

There's nothing exposed to handle this error currently, and if it occurs, it's better not to fail in silence. I'm currently debugging a situation where ConnClients stop working, this would be a condition we'd want to know about.
tracker/udp/conn-client.go