Skip to content

Commit

Permalink
Sometimes messages misordered by device.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Oct 22, 2018
1 parent 2fbfc63 commit 270ef90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion device.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ func Device(s1 Socket, s2 Socket) error {
}

go forwarder(s1, s2)
go forwarder(s2, s1)
if s2 != s1 {
go forwarder(s2, s1)
}
return nil
}

Expand Down

0 comments on commit 270ef90

Please sign in to comment.