• Juliusz Chroboczek's avatar
    Split the main up loop into two threads. · 5916028e
    Juliusz Chroboczek authored
    The reader and the writer now communicate through a channel and the packet
    cache.  If the writer thread drops behind, we drop packets after inserting in
    the packet cache, which avoids building a backlog.
    5916028e
client.go 28.1 KB