[syslog-ng] [PATCH 1/1] Add support for Unix sockets.

Gergely Nagy algernon at balabit.hu
Wed Aug 15 12:46:49 CEST 2012


Gergely Nagy <algernon at 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]



More information about the syslog-ng mailing list