15 Aug
2012
15 Aug
'12
12:46 p.m.
Gergely Nagy <algernon@balabit.hu> writes:
+mongo_connection *mongo_unix_connect (const char *path);
Hrm, I was wondering whether it would make sense to bake this into mongo_connect() itself?
I thought this further.. I really want to merge the two, and make a few other parts of the library smarter, so that replica sets would work with unix sockets too, and even a mixed environment would be possible (even if that'd be terribly broken, but still! :P). With mongo_connect() supporting unix sockets, and mongo_util_parse_addr() being smarter and recognising them, we'd have pretty much everything covered for replica set support, I think. -- |8]