Skip to content

Commit

Permalink
Merge branch 'master' into research-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoluvizotto authored Apr 17, 2024
2 parents 9194b9f + 06d50d1 commit 9d6d375
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,9 @@ func NewConn(conn net.Conn, isTLS bool) *Conn {
}

// Start initialises goroutines to read replies and process messages.
// Warning: Calling this function in addition to Dial or DialURL
// may cause race conditions.
//
// Deprecated: It is usually not necessary to call this function
// manually. It is public for compatibility reasons and may
// cause a race condition when processing messages.
// See: https://github.com/go-ldap/ldap/issues/356
func (l *Conn) Start() {
go l.reader()
Expand Down
5 changes: 2 additions & 3 deletions v3/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,9 @@ func NewConn(conn net.Conn, isTLS bool) *Conn {
}

// Start initialises goroutines to read replies and process messages.
// Warning: Calling this function in addition to Dial or DialURL
// may cause race conditions.
//
// Deprecated: It is usually not necessary to call this function
// manually. It is public for compatibility reasons and may
// cause a race condition when processing messages.
// See: https://github.com/go-ldap/ldap/issues/356
func (l *Conn) Start() {
go l.reader()
Expand Down

0 comments on commit 9d6d375

Please sign in to comment.