• Cecylia Bocovich's avatar
    Create new smux session for each SOCKS connection · 114df695
    Cecylia Bocovich authored
    Each SOCKS connection has its own set of snowflakes and broker poll
    loop. Since the session manager was tied to a single set of snowflakes,
    this resulted in a bug where RedialPacketConn would sometimes try to
    pull snowflakes from a previously melted pool. The fix is to maintain
    separate smux sessions for each SOCKS connection, tied to its own
    snowflake pool.
    114df695
snowflake.go 4.9 KB