snowflake/server/lib
David Fifield 77b186ae6e Have SnowflakeClientConn implement io.WriterTo.
By forwarding the method to the inner smux.Stream. This is to prevent
io.Copy in the top-level proxy function from allocating a buffer per
client.

The smux.Stream WriteTo method returns io.EOF on success, contrary to
the contract of io.Copy that says it should return nil. Ignore io.EOF in
the proxy loop to avoid a log message.

/anti-censorship/pluggable-transports/snowflake/-/issues/40177
2022-12-08 08:03:54 -07:00
..
http.go Increase clientIDAddrMapCapacity to 98304. 2022-12-03 13:39:56 -07:00
server_test.go Change package name and add a package comment 2021-10-07 11:01:33 -04:00
snowflake.go Have SnowflakeClientConn implement io.WriterTo. 2022-12-08 08:03:54 -07:00
turbotunnel.go Bump snowflake library imports and go.mod to v2 2021-11-11 10:14:49 -05:00
turbotunnel_test.go Bump snowflake library imports and go.mod to v2 2021-11-11 10:14:49 -05:00