snowflake/client/lib
David Fifield ae7cc478fd Release resources in client Transport.Dial on error.
Make a stack of cleanup functions to run (as with defer), but clear the
stack before returning if no error occurs.

Uselessly pushing the stream.Close() cleanup just before clearing the
stack is an intentional safeguard, for in case additional operations are
added before the return in the future.

Fixes #40042.
2021-05-24 15:28:13 -06:00
..
interfaces.go Set max number of snowflakes in the Tongue 2020-08-27 16:44:07 -04:00
lib_test.go Implement snowflake client lib as PTv2.1 Go API 2021-05-12 09:08:41 -04:00
peers.go Add synchronization to prevent post-melt collects 2020-10-15 14:47:51 -04:00
rendezvous.go Update webrtc library to v3.0.0 2021-01-12 10:37:26 -05:00
snowflake.go Release resources in client Transport.Dial on error. 2021-05-24 15:28:13 -06:00
turbotunnel.go Turbo Tunnel client and server. 2020-04-23 16:02:56 -06:00
util.go Simplify BytesSyncLogger. 2020-04-23 21:38:44 -06:00
webrtc.go Update webrtc library to v3.0.0 2021-01-12 10:37:26 -05:00