Skip to content

Commit 5abb12b

Browse files
committed
Revert "chore: add comment to Start function to inform about possible instability when called (go-ldap#499)"
This reverts commit f09ee91.
1 parent 2260012 commit 5abb12b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

conn.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,7 @@ func NewConn(conn net.Conn, isTLS bool) *Conn {
265265
return l
266266
}
267267

268-
// Start initialises goroutines to read replies and process messages.
269-
//
270-
// Deprecated: It is usually not necessary to call this function
271-
// manually. It is public for compatibility reasons and may
272-
// cause a race condition when processing messages.
273-
// See: https://github.com/go-ldap/ldap/issues/356
268+
// Start initializes goroutines to read responses and process messages
274269
func (l *Conn) Start() {
275270
go l.reader()
276271
go l.processMessages()

v3/conn.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,7 @@ func NewConn(conn net.Conn, isTLS bool) *Conn {
265265
return l
266266
}
267267

268-
// Start initialises goroutines to read replies and process messages.
269-
//
270-
// Deprecated: It is usually not necessary to call this function
271-
// manually. It is public for compatibility reasons and may
272-
// cause a race condition when processing messages.
273-
// See: https://github.com/go-ldap/ldap/issues/356
268+
// Start initializes goroutines to read responses and process messages
274269
func (l *Conn) Start() {
275270
go l.reader()
276271
go l.processMessages()

0 commit comments

Comments
 (0)