Files
teleport/lib/utils
Andrew Lytvynov be8d931877 Fix a data race in utils.SyncBuffer
`SyncBuffer` has a goroutine running `io.Copy` to read from the
underlying pipe. Close stops the pipe, but doesn't wait for the last
chunk of data to be written by `io.Copy` to the buffer.

Both `Bytes` and `String` assume that the buffer received no further
writes after `Close`.

Add explicit synchronization between `io.Copy` goroutine and `Close`.
2020-04-17 20:05:38 +00:00
..
2018-08-03 11:06:08 -07:00
2019-09-03 13:44:20 -07:00
2019-09-24 14:01:30 -07:00
2019-09-24 14:01:30 -07:00
2018-01-09 10:30:19 -08:00
2018-01-09 12:26:48 -08:00
2020-04-17 20:05:38 +00:00
2019-02-11 14:57:57 -08:00
2019-03-08 19:22:20 +00:00
2018-07-16 18:34:13 -07:00
2019-05-07 14:17:11 -07:00
2017-07-18 11:20:49 -07:00
2018-08-03 11:06:08 -07:00
2018-08-03 11:06:08 -07:00
2018-08-03 11:06:08 -07:00
2019-05-14 11:26:45 -07:00
2016-12-08 18:43:37 -08:00
2017-01-17 14:17:03 -08:00
2019-07-26 10:58:11 -07:00
2019-07-26 10:58:11 -07:00
2018-10-15 11:59:17 -07:00
2019-05-07 14:17:11 -07:00
2016-12-08 18:43:37 -08:00
2016-12-08 18:43:37 -08:00
2019-10-24 15:15:55 -07:00
2020-01-02 17:56:53 -08:00
2017-10-20 10:20:26 +02:00