• David Fifield's avatar
    Let copyLoop exit when either direction finishes. · 904af9cb
    David Fifield authored
    Formerly we waiting until *both* directions finished. What this meant in
    practice is that when the remote connection ended, copyLoop would become
    useless but would continue blocking its caller until something else
    finally closed the socks connection.
snowflake.go 1.44 KB