Unsynchronized socket.dead reads
Bug #1269953 reported by
Evan Shaw
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mgo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
socket.dead is read without synchronization in some places, creating a race:
http://
http://
http://
Changed in mgo: | |
status: | New → Fix Released |
To post a comment you must log in.
Will certainly tweak it to make the race detector happier, but please note that there's no actual race there. socket.dead never changes once set, and it's being tested while locked.