|| at Sep 6, 2012 at 7:50 am
*** Submitted ashttp://code.google.com/p/go/source/detail?r=91c1c2d6e2ff
crypto/tls: fix data race on conn.err
Fixes issue 3862.
There were many areas where conn.err was being accessed
outside the mutex. This proposal moves the err value to
an embedded struct to make it more obvious when the error
value is being accessed.
As there are no Benchmark tests in this package I cannot
feel confident of the impact of this additional locking,
although most will be uncontended.