[OpenSIPS-Devel] [OpenSIPS/opensips] 4c4849: refactor TCP/TLS code to have everything in a sing...
Răzvan Crainea
noreply at github.com
Wed Apr 8 11:38:26 UTC 2026
Branch: refs/heads/feature/new-tcp-rework
Home: https://github.com/OpenSIPS/opensips
Commit: 4c4849d0fae2bf96495c7a371484bb30c46cdeab
https://github.com/OpenSIPS/opensips/commit/4c4849d0fae2bf96495c7a371484bb30c46cdeab
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M cfg.lex
M cfg.y
M globals.h
M mem/mem.h
A mem/thread_mem.c
M modules/proto_bin/bin_common.h
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_msrp/msrp_common.h
M modules/proto_smpp/proto_smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_common.h
M modules/proto_ws/ws_handshake_common.h
M modules/proto_wss/proto_wss.c
M modules/tls_mgm/tls_helper.h
M modules/tls_mgm/tls_mgm.c
M modules/tls_openssl/openssl.c
M modules/tls_openssl/openssl_config.c
M modules/tls_openssl/openssl_conn_ops.c
M modules/tls_openssl/openssl_helpers.h
M modules/tls_wolfssl/wolfssl_conn_ops.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/proto_tcp/proto_tcp.c
M net/proto_tcp/tcp_common.h
M net/tcp_conn_defs.h
M reactor_defs.h
Log Message:
-----------
refactor TCP/TLS code to have everything in a single process
Commit: d223c5449d074159562af25f7544f17425bc2f53
https://github.com/OpenSIPS/opensips/commit/d223c5449d074159562af25f7544f17425bc2f53
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M ip_addr.c
M ip_addr.h
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_msrp/msrp_tls.c
M modules/proto_msrp/msrp_tls.h
M modules/proto_msrp/proto_msrp.c
M modules/proto_smpp/proto_smpp.c
M modules/proto_smpp/smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_tcp.c
M modules/proto_wss/proto_wss.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/proto_tcp/proto_tcp.c
M net/tcp_common.c
M net/tcp_common.h
Log Message:
-----------
net: all messages are sent as async chunks
Commit: b688f2af1dfac8cc5c16a1e856ac502dc01cd051
https://github.com/OpenSIPS/opensips/commit/b688f2af1dfac8cc5c16a1e856ac502dc01cd051
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-17 (Tue, 17 Mar 2026)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_smpp/smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
M modules/tls_mgm/tls_select.c
M net/net_tcp.c
M net/net_tcp.h
M net/proto_tcp/proto_tcp.c
M net/tcp_conn.h
M net/tcp_conn_defs.h
Log Message:
-----------
net: always send messages from main thread
Commit: 85b047a36e1fd393824a70095c4f8f68e8d1fef9
https://github.com/OpenSIPS/opensips/commit/85b047a36e1fd393824a70095c4f8f68e8d1fef9
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-17 (Tue, 17 Mar 2026)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_smpp/smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
M net/net_tcp_proc.c
M net/proto_tcp/proto_tcp.c
M net/tcp_conn.h
M net/tcp_conn_defs.h
Log Message:
-----------
net: drop proc_id from tcp_connection
Commit: a9cea33f8237f1569509ad1293f90d628e834565
https://github.com/OpenSIPS/opensips/commit/a9cea33f8237f1569509ad1293f90d628e834565
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-18 (Wed, 18 Mar 2026)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_smpp/smpp.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
M net/proto_tcp/proto_tcp.c
Log Message:
-----------
net: make sure writes are never handled from workers
Commit: 34080371b0c83ff90f2355e525fb22b0252e8b63
https://github.com/OpenSIPS/opensips/commit/34080371b0c83ff90f2355e525fb22b0252e8b63
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-18 (Wed, 18 Mar 2026)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_smpp/proto_smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/ws_handshake_common.h
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/proto_tcp/proto_tcp.c
M net/tcp_conn_defs.h
Log Message:
-----------
net: move req in thread memory
Commit: 55bb5f4975bd3295d49f7abc71fdf3623a6f0215
https://github.com/OpenSIPS/opensips/commit/55bb5f4975bd3295d49f7abc71fdf3623a6f0215
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-18 (Wed, 18 Mar 2026)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_msrp/msrp_tls.c
M modules/proto_smpp/smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_tcp.c
M modules/proto_wss/proto_wss.c
M net/proto_tcp/proto_tcp.c
M net/proxy_protocol.c
M net/tcp_common.c
Log Message:
-----------
net: only increaase connection lifetime if write is success
Commit: 39f0345f6ba2497ab8fda195c8e2413de01ddd70
https://github.com/OpenSIPS/opensips/commit/39f0345f6ba2497ab8fda195c8e2413de01ddd70
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-19 (Thu, 19 Mar 2026)
Changed paths:
M cfg.y
M modules/proto_bin/bin_common.h
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_smpp/proto_smpp.c
M modules/proto_ws/ws_common.h
M modules/proto_ws/ws_handshake_common.h
M net/net_tcp.c
M net/net_tcp_proc.c
M net/net_tcp_proc.h
M net/proto_tcp/tcp_common.h
M net/tcp_conn_defs.h
Log Message:
-----------
net: restore msg_max_read_timeout and cleanup dead code
Commit: 168e8e1e8307fdc2dc7c01b5b03b542f2325f84f
https://github.com/OpenSIPS/opensips/commit/168e8e1e8307fdc2dc7c01b5b03b542f2325f84f
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-24 (Tue, 24 Mar 2026)
Changed paths:
M modules/proto_bins/proto_bins.c
M modules/proto_msrp/msrp_common.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_common.h
M modules/proto_wss/proto_wss.c
M net/api_proto_net.h
M net/net_tcp.c
M net/net_tcp_proc.c
M net/proxy_protocol.c
M net/tcp_common.c
M net/tcp_conn_defs.h
Log Message:
-----------
net: handle connect in main process
Commit: 5c7fa3f6865560c74318b4cca981cf84b522241b
https://github.com/OpenSIPS/opensips/commit/5c7fa3f6865560c74318b4cca981cf84b522241b
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-25 (Wed, 25 Mar 2026)
Changed paths:
M modules/proto_bin/doc/proto_bin_admin.xml
M modules/proto_bin/proto_bin.c
M modules/proto_bins/doc/proto_bins_admin.xml
M modules/proto_bins/proto_bins.c
M modules/proto_hep/doc/proto_hep_admin.xml
M modules/proto_hep/proto_hep.c
M modules/proto_msrp/msrp_common.c
M modules/proto_smpp/smpp.c
M modules/proto_tls/doc/proto_tls_admin.xml
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_common.h
M modules/proto_wss/proto_wss.c
M modules/tls_mgm/tls_select.c
M modules/tls_wolfssl/wolfssl_conn_ops.c
M net/net_tcp.c
M net/net_tcp.h
M net/proto_tcp/doc/proto_tcp_admin.xml
M net/proto_tcp/proto_tcp.c
M net/tcp_common.c
M net/tcp_common.h
M net/tcp_conn.h
M net/tcp_conn_defs.h
Log Message:
-----------
net: clean connect
Commit: d17da4d5dd0769ecba2bc0354eed0022565c2b85
https://github.com/OpenSIPS/opensips/commit/d17da4d5dd0769ecba2bc0354eed0022565c2b85
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-30 (Mon, 30 Mar 2026)
Changed paths:
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws_common.h
M modules/proto_ws/ws_handshake_common.h
M modules/proto_ws/ws_tcp.c
M modules/proto_wss/proto_wss.c
M modules/tls_openssl/openssl_conn_ops.c
M modules/tls_wolfssl/wolfssl_conn_ops.c
M net/net_tcp.c
Log Message:
-----------
net: handle proto_ws/wss communication
Commit: bc6aeb14fbce3dc320312da21c5cde0cefb1be30
https://github.com/OpenSIPS/opensips/commit/bc6aeb14fbce3dc320312da21c5cde0cefb1be30
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M net/api_proto_net.h
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/proto_tcp/tcp_common.h
Log Message:
-----------
net: handle protocol parsing in the worker
Commit: a8d135b48966c4f890d657e1528e7a2a179eab15
https://github.com/OpenSIPS/opensips/commit/a8d135b48966c4f890d657e1528e7a2a179eab15
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M modules/proto_hep/proto_hep.c
Log Message:
-----------
proto_hep: migrate hep to new TCP stack
Commit: 18015a3cd444020043e310fb545c550d294b6719
https://github.com/OpenSIPS/opensips/commit/18015a3cd444020043e310fb545c550d294b6719
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M modules/proto_smpp/proto_smpp.c
M modules/proto_smpp/smpp.c
Log Message:
-----------
proto_smpp: migrate module to new TCP stack
Commit: 08483e24db459350015b399ebae6cf8745bb0dfc
https://github.com/OpenSIPS/opensips/commit/08483e24db459350015b399ebae6cf8745bb0dfc
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M modules/proto_bin/bin_common.h
M modules/proto_bin/proto_bin.c
M modules/proto_bins/proto_bins.c
Log Message:
-----------
proto_bin: migrate module to new TCP interface
Commit: 5b1e975c3a9f36559b752b5d640d62ae36463648
https://github.com/OpenSIPS/opensips/commit/5b1e975c3a9f36559b752b5d640d62ae36463648
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M modules/proto_msrp/msrp_common.c
M modules/proto_msrp/msrp_common.h
M modules/proto_msrp/proto_msrp.c
Log Message:
-----------
proto_msrp: migrate module to new TCP interface
Commit: 49c35e04aa916d8578a774aa684544fe45418f89
https://github.com/OpenSIPS/opensips/commit/49c35e04aa916d8578a774aa684544fe45418f89
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M modules/tls_mgm/tls_select.c
M net/net_tcp.c
M net/net_tcp.h
Log Message:
-----------
tls_mgm: expose certs info in workers
Commit: 4c0460617c4b70ad90eb4b6157f784679c576d24
https://github.com/OpenSIPS/opensips/commit/4c0460617c4b70ad90eb4b6157f784679c576d24
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M modules/proto_tls/proto_tls.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/proto_tcp/proto_tcp.c
M net/proto_tcp/tcp_common.h
M net/tcp_conn.h
M net/tcp_conn_defs.h
M pt.c
M pt.h
M reactor_defs.h
Log Message:
-----------
net: handle shared queue for async messages
Commit: a7f4d77576fcc3c57890a5e0691ec752e22f1622
https://github.com/OpenSIPS/opensips/commit/a7f4d77576fcc3c57890a5e0691ec752e22f1622
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M main.c
R ssl_tweaks.h
Log Message:
-----------
drop ssl_tweaks
Commit: 165468215213d68a8b712f3b7d34a23e94bcb018
https://github.com/OpenSIPS/opensips/commit/165468215213d68a8b712f3b7d34a23e94bcb018
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M Makefile.defs
M modules/cachedb_mongodb/Makefile
M modules/cachedb_mongodb/cachedb_mongodb.c
R modules/cachedb_mongodb/ssl_tweaks.c
M modules/db_http/Makefile
M modules/db_http/db_http.c
R modules/db_http/ssl_tweaks.c
M modules/db_mysql/Makefile
R modules/db_mysql/ssl_tweaks.c
M modules/rest_client/Makefile
M modules/rest_client/rest_client.c
R modules/rest_client/ssl_tweaks.c
M modules/tls_mgm/tls_mgm.c
M modules/tls_wolfssl/wolfssl_conn_ops.c
R ssl_init_tweaks.h
Log Message:
-----------
drop ssl_tweaks from all modules
Compare: https://github.com/OpenSIPS/opensips/compare/4c4849d0fae2%5E...165468215213
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list