Add a configuration switch to disable the "TCP Loopback Fast Path" option
(Windows only)
----------------------------------------------------------------------------------------
Key: CORE-6004
URL: http://tracker.firebirdsql.org/browse/CORE-6004
Project: Firebird Core
Issue Type: Improvement
Components: Engine
Affects Versions: 3.0.4
Environment: Windows 8/2012 and higher
Reporter: KS
We recently ran into a problem with the "TCP Loopback Fast Path" option
(introduced with CORE-4563).
Having a Windows 2016 Server (as a guest OS using VMWare) newly booted, any
already established local TCP connections are broken in the moment the
(optional) "Remote Access Management Service" Windows service starts up. This
affects only local TCP connections having the Fast Path option enabled. For
Firebird, this results in errors like "ISC ERROR MESSAGE: Error writing data to
the connection". After reestablishing the connection all works fine and doesn't
break again. I verified that this issue doesn't occur when the Fast Path option
isn't used. I don't think that this a problem in Firebird, because other
loopback TCP connections between different system components (other than
Firebird) that make use of the Fast Path option were affected in the same way.
As the Fast Path option is generally desirable but may cause problems under
some rare conditions, I think it favourable to have a config switch allowing to
disable it. It's sufficient to have this switch on the server side, because the
Fast Path option will only become active if both sides (client + server) opt in
for it.
Here's my proposal for a new Firebird.conf section (to be added after "
#TcpNoNagle = 1"):
#
# Either enables or disables the "TCP Loopback Fast Path" feature
(SIO_LOOPBACK_FAST_PATH).
# Applies to Windows (version 8/2012 or higher) only.
#
# Type: Boolean, default 1 (true)
#
#TcpLoopbackFastPathOption = 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel