Issue Details (XML | Word | Printable)

Key: CORE-5229
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michal Kubeček
Reporter: Stefan Heymann
Votes: 0
Watchers: 3

If you were logged in you would be able to see more operations.
Firebird Core

Allow to enforce IPv4 or IPv6 in URL-like connection strings

Created: 06/May/16 07:37 PM   Updated: 17/Jun/16 06:25 AM
Component/s: API / Client Library
Affects Version/s: None
Fix Version/s: 3.0.1, 4.0 Alpha 1

QA Status: Done with caveats
Test Details: Currently implemented only for inet4.

 Description  « Hide
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).

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dmitry Yemanov made changes - 06/May/16 07:39 PM
Field Original Value New Value
Assignee Michal Kubeček [ mkubecek ]
Reporter Dmitry Yemanov [ dimitr ] Stefan Heymann [ stefanheymann ]
Dmitry Yemanov made changes - 06/May/16 07:39 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.1 [ 10730 ]
Fix Version/s 4.0 Alpha 1 [ 10731 ]
Resolution Fixed [ 1 ]
Pavel Zotov made changes - 17/Jun/16 06:25 AM
Status Resolved [ 5 ] Resolved [ 5 ]
Test Details Currently implemented only for inet4.
QA Status No test Done with caveats