Issue Details (XML | Word | Printable)

Key: CORE-4658
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Volker Rehn
Votes: 1
Watchers: 7
Operations

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

slow connect from Firebird 3 fbclient to Firebird 2.5 server

Created: 04/Jan/15 09:40 PM   Updated: 12/Nov/16 02:35 PM
Component/s: API / Client Library
Affects Version/s: 3.0 Beta 2, 3.0.0, 3.0.1
Fix Version/s: None

Environment: Windows, Firebird 3 build 31529, Firebird 2.5.3
Issue Links:
Duplicate
 


 Description  « Hide
fbclient of build 31529 takes a lot longer than previous versions to connect to Firebird 2.5, around 1 second vs some msecs.
This looks like a IPv4 / IPv6 issue on Windows, because if localhost is defined as 127.0.0.1 in etc/hosts, connects are as fast as with older versions of fbclient. If ::1 is also defined as localhost, connects are slow again.

First reported by Mark Rotteveel on firebird.devel.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michal Kubeček added a comment - 04/Jan/15 10:01 PM
This is surprising; if nothing listens on ::1/3050, connect() should fail (almost) immediately; it shouldn't take one second. This looks as if something was blocking the TCP reset (or ICMP port unreachable) sent in response to the SYN packet. But in such case, I would rather expect longer timeout than one second.

Vlad Khorsun added a comment - 04/Nov/15 10:16 AM
Volker,

could you, please, test it again using current snapshot build ?

Volker Rehn added a comment - 04/Nov/15 08:36 PM
No change with build 32144. Still exactly as described above. Test client was Flamerobin with latest fbclient.

Gilson added a comment - 29/Aug/16 05:19 PM
In my environment, the connection to firebird 2.5.6 using fbclient.dll 3.0 is very slow too.
After the connection the performance is ok.

Mark Rotteveel added a comment - 12/Nov/16 02:35 PM
This still happens with the fbclient of 3.0.0 and 3.0.1 releases.