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
2020-03-07 16:32:37 -08:00
2019-09-03 13:44:20 -07:00
2019-11-05 12:02:34 -08: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
2016-03-15 17:16:58 -07:00
2020-04-17 20:05:38 +00:00
2019-08-06 16:40:29 -07:00
2019-03-19 17:47:53 -07:00
2019-03-19 17:47:53 -07:00
2019-07-26 13:25:18 -07:00
2019-07-26 13:25:18 -07:00
2019-02-11 14:57:57 -08:00
2019-05-28 19:18:28 -03:00
2019-03-08 19:22:20 +00:00
2018-07-16 18:34:13 -07:00
2019-03-21 14:05:33 -07:00
2019-05-07 14:17:11 -07:00
2019-05-07 14:17:11 -07:00
2017-05-26 17:06:49 -07:00
2017-08-22 15:30:30 -07:00
2017-07-18 11:20:49 -07:00
2019-06-12 16:26:06 -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
2020-04-17 17:46:51 +00:00
2020-01-20 14:04:36 -08:00
2020-01-20 14:04:36 -08:00
2018-03-21 23:58:31 +00:00
2018-03-21 23:58:31 +00:00
2018-02-13 15:18:47 -08:00
2020-04-09 21:10:12 +00: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
2016-03-15 17:16:58 -07:00
2018-10-15 11:59:17 -07:00
2019-04-12 14:23:09 -07:00
2017-12-27 11:37:19 -08:00
2019-05-07 14:17:11 -07:00
2016-12-08 18:43:37 -08:00
2019-03-12 17:57:19 +00:00
2016-12-08 18:43:37 -08:00
2017-08-22 15:30:30 -07:00
2019-02-09 21:39:40 -08:00
2017-08-30 18:11:13 +00:00
2020-04-09 21:10:12 +00:00
2016-12-30 01:21:28 -08:00
2019-10-24 15:15:55 -07:00
2018-06-22 12:56:58 -07:00
2019-07-17 12:51:18 -07:00
2019-03-18 15:08:43 -07:00
2019-09-03 13:44:20 -07:00
2019-09-03 13:44:20 -07:00
2020-01-02 17:56:53 -08:00
2020-03-07 16:32:37 -08:00
2020-03-07 16:32:37 -08:00
2018-11-16 16:34:19 -08:00
2017-10-20 10:20:26 +02:00
2018-06-03 12:55:13 -07:00