[OpenSIPS-Devel] [OpenSIPS/opensips] 593788: TCP connection lookup: Add matching by transport
Liviu Chircu
liviu at opensips.org
Tue May 24 19:31:15 CEST 2016
Branch: refs/heads/2.1
Home: https://github.com/OpenSIPS/opensips
Commit: 59378847aff3b0cb32c2a82e84b8802b98f297ed
https://github.com/OpenSIPS/opensips/commit/59378847aff3b0cb32c2a82e84b8802b98f297ed
Author: Liviu Chircu <liviu at opensips.org>
Date: 2016-05-24 (Tue, 24 May 2016)
Changed paths:
M modules/proto_tls/proto_tls.c
M modules/proto_tls/tls_select.c
M modules/proto_ws/proto_ws.c
M net/net_tcp.c
M net/net_tcp.h
M net/proto_tcp/proto_tcp.c
Log Message:
-----------
TCP connection lookup: Add matching by transport
The fact that all currently supported TCP-oriented protocols have different
standard ports is not an excuse for not including the transport into the
match condition (i.e. dest IP address + dest port + dest transport).
This may very well prevent issues with messages being sent out over the
wrong TCP connection in a number of scenarios where we employ TCP connection
reusage over both plain TCP and TLS with a Proxy that specifies the same port
in the topmost Via header when it establishes each of the two connections.
(cherry picked from commit 13970bb65253f1b35156466c6f514a4c520d8893)
Conflicts:
modules/proto_bin/proto_bin.c
modules/proto_hep/proto_hep.c
modules/proto_wss/proto_wss.c
modules/tls_mgm/tls_mgm.c
More information about the Devel
mailing list