Open datastream opened 5 years ago
c.requestList should be protected by mutex lock.
https://github.com/vjeantet/ldapserver/blob/479fece7c5f15b209e2e3ba082a89d18cd2a8207/client.go#L42 `diff --git a/client.go b/client.go index a174d36..665743d 100644 --- a/client.go +++ b/client.go @@ -39,9 +39,12 @@ func (c *client) SetConn(conn net.Conn) { }
func (c client) GetMessageByID(messageID int) (Message, bool) {
c.requestList should be protected by mutex lock.
https://github.com/vjeantet/ldapserver/blob/479fece7c5f15b209e2e3ba082a89d18cd2a8207/client.go#L42 `diff --git a/client.go b/client.go index a174d36..665743d 100644 --- a/client.go +++ b/client.go @@ -39,9 +39,12 @@ func (c *client) SetConn(conn net.Conn) { }
func (c client) GetMessageByID(messageID int) (Message, bool) {