Skip to content

Commit 682d350

Browse files
authored
chore: upgrade yamux to 0.1.2 (coder#15727)
Upgrades yamux to 0.1.2, which includes a couple bug fixes. > Significant Changes > * Fixed a case where Streams may continue to exist and block operations even after their Session has been closed. coder#127 ensures when a Session closes that blocking Stream operations exit as well. > * Allow Reads on locally closed streams. Prior to coder#131 calling Close() and then Read() on a Stream would fail. Close should only indicate the Stream is done writing. The peer must call Close before Read considers the stream closed. See coder#131 for details. > * Tests have been improved significantly. See below for details. https://github.com/hashicorp/yamux/releases/tag/v0.1.2
1 parent a2cf40b commit 682d350

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ require (
126126
github.com/hashicorp/hc-install v0.9.0
127127
github.com/hashicorp/terraform-config-inspect v0.0.0-20211115214459-90acf1ca460f
128128
github.com/hashicorp/terraform-json v0.23.0
129-
github.com/hashicorp/yamux v0.1.1
129+
github.com/hashicorp/yamux v0.1.2
130130
github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02
131131
github.com/imulab/go-scim/pkg/v2 v2.2.0
132132
github.com/jedib0t/go-pretty/v6 v6.6.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,8 @@ github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTV
590590
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
591591
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
592592
github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc=
593-
github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE=
594-
github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ=
593+
github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8=
594+
github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6FT1wIns=
595595
github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7HsjsjeEZ6auqU=
596596
github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo=
597597
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=

0 commit comments

Comments
 (0)