• F
    p2p: improve read deadlines · 5110f80b
    Felix Lange 提交于
    There are now two deadlines, frameReadTimeout and payloadReadTimeout.
    
    The frame timeout is longer and allows for connections that are idle.
    The message timeout is still short and ensures that we don't get stuck
    in the middle of a message.
    5110f80b
message.go 9.4 KB