Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to enforce IPv4 or IPv6 in URL-like connection strings [CORE5229] #5508

firebird-automations opened this issue May 6, 2016 · 3 comments


Copy link

Submitted by: Stefan Heymann (stefanheymann)

Assigned to: @mkubecek

Extend the new URL-style connection string format to restrict name lookup to only IPv4 or IPv6 addresses:

connect 'inet://';
connect 'inet4://';
connect 'inet6://';

First example tries all addresses, second only IPv4 ones, third only IPv6ones. This can be used to avoid connection delays on systems where name lookup returns IPv6 addresses for some host names but attempts to connect to them time out rather than failing immediatelly (as reported, this can happen even for name "localhost" on some systems).

====== Test Details ======

Currently implemented only for inet4.

Copy link
Collaborator Author

Modified by: @dyemanov

reporter: Dmitry Yemanov [ dimitr ] => Stefan Heymann [ stefanheymann ]

assignee: Michal Kubeček [ mkubecek ]

Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0.1 [ 10730 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done with caveats

Test Details: Currently implemented only for inet4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant