[Date Prev][Date Next] [Chronological] [Thread] [Top]

libldap "Happy Eyeballs" support (aka Fast Fallback or ipv4/ipv6 dual-stack)



Hi all,

 

I would like to have Happy Eyeballs algorithm (more details here) implemented for all network communication in my application.

Because I’m using libldap for searching openldap server I’m not quite sure does library already support this or would I need to implement

it myself?

 

To further clarify, I have following scenario: ldap server on myoldap.organization.org that listens for both ipv6 and ipv4 connections. Clients connect to it using libldap.

Does libldap have support to automatically choose ipv6 over ipv4 or vice versa?

 

If yes, how is choice made? Is ipv6 always preferred if available or does better connection win?

If no, then I know the way I need to go. The only thing to add there is that I would be willing to add this support to libldap.

 

Thanks,

Žarko