We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c2c0f9 commit 412981cCopy full SHA for 412981c
conn.go
@@ -85,6 +85,9 @@ const (
85
86
// Conn represents an LDAP Connection
87
type Conn struct {
88
+ // requestTimeout is loaded atomically
89
+ // so we need to ensure 64-bit alignment on 32-bit platforms.
90
+ requestTimeout int64
91
conn net.Conn
92
isTLS bool
93
closing uint32
@@ -98,7 +101,6 @@ type Conn struct {
98
101
wgClose sync.WaitGroup
99
102
outstandingRequests uint
100
103
messageMutex sync.Mutex
- requestTimeout int64
104
}
105
106
var _ Client = &Conn{}
0 commit comments