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
Operations

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://server.example.org/test';
  connect 'inet4://server.example.org/test';
  connect 'inet6://server.example.org/test';

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
There are no comments yet on this issue.