Skip to content

Commit

Permalink
Merge pull request #232 from gopcua/fix/sechan-data-race#231
Browse files Browse the repository at this point in the history
fix(secure_channel): fix data race in Receive()
  • Loading branch information
magiconair authored Jul 10, 2019
2 parents 7796f36 + 384a31c commit 3a9584a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions uasc/secure_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,6 @@ func (s *SecureChannel) Receive(ctx context.Context) Response {
debug.Printf("uasc %d/%d: recv %T", s.c.ID(), reqid, svc)
}

// todo: validate request ID / check that it is increasing correctly
s.cfg.RequestID = reqid

switch svc.(type) {
case *ua.OpenSecureChannelRequest:
err := s.handleOpenSecureChannelRequest(svc)
Expand Down

0 comments on commit 3a9584a

Please sign in to comment.