• Steven Allen's avatar
    fix: use 64bit stream/conn IDs · 62e792f5
    Steven Allen authored
    Given 1k requests per second (assuming one stream per request), we can
    easily loop around the stream ID after less than 2 months. 32bits is
    plenty (usually) for connection-scoped stream IDs because individual
    connections don't usually last that long, but isn't enough for a
    _global_ stream ID.
    
    Given that there's no reason for these to be 32bit IDs, let's just make
    them 64bits.
    62e792f5
swarm_stream.go 4.06 KB