mgo

lp:~jameinel/mgo/bug-1191487-close-race

Created by John A Meinel and last modified
Get this branch:
bzr branch lp:~jameinel/mgo/bug-1191487-close-race
Only John A Meinel can upload to this branch. If you are John A Meinel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
John A Meinel
Project:
mgo
Status:
Merged

Recent revisions

233. By John A Meinel

Remove the whitebox test of concurrency handling.

232. By John A Meinel

Change the pinger loop so that AcquireSocket always checks for closed first.

231. By John A Meinel

Always unlock the server

230. By John A Meinel

go fmt

229. By John A Meinel

Handle the closing-race condition.

228. By John A Meinel

Some small tweaks.

We don't need the test suite to be instantiated twice.
Comment why we need the server != nil check.
Allow more than one connection (though we generally just
get the 1 actual connection, then one more Close signal.

227. By John A Meinel

Fixes bug #1191487

226. By John A Meinel

Merge go fmt fixes from trunk.

225. By John A Meinel

go fmt

224. By John A Meinel

Add a whitebox test that AcquireSocket notices if the server is closed during Connect.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mgo
This branch contains Public information 
Everyone can see this information.

Subscribers