add socketchannel:changhost

This commit is contained in:
Cloud Wu
2014-07-16 12:17:55 +08:00
parent a8a683b48e
commit 37a46607ce
2 changed files with 13 additions and 2 deletions

View File

@@ -84,6 +84,7 @@ local function mongo_auth(mongoc)
end
return function()
assert(mongoc:auth(user, pass))
-- todo : If mongoc want to connect to replica set, runCommand ismater here, and call mongoc.__sock:changehost
end
end