[OpenSIPS-Devel] [OpenSIPS/opensips] 11aa15: refactor TCP/TLS code to have everything in a sing...
Răzvan Crainea
noreply at github.com
Wed Apr 8 13:47:10 UTC 2026
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 11aa15d1b95e0b9ad94594c933690286e527e4bd
https://github.com/OpenSIPS/opensips/commit/11aa15d1b95e0b9ad94594c933690286e527e4bd
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 680bf28f6a05f7b35f2a4fced4654041c65d4dc1
https://github.com/OpenSIPS/opensips/commit/680bf28f6a05f7b35f2a4fced4654041c65d4dc1
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: ccb7c630a43b6879dc57e81eaa6ff6a7856435b9
https://github.com/OpenSIPS/opensips/commit/ccb7c630a43b6879dc57e81eaa6ff6a7856435b9
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 941fe27d1e3138f0f3d3bf398de259beaaa677a3
https://github.com/OpenSIPS/opensips/commit/941fe27d1e3138f0f3d3bf398de259beaaa677a3
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 976d1dba66a8de62fbe89a8c27edf7e45f7b3d77
https://github.com/OpenSIPS/opensips/commit/976d1dba66a8de62fbe89a8c27edf7e45f7b3d77
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: fc856742997b455a1cbb29a4990de5f0af4fec6b
https://github.com/OpenSIPS/opensips/commit/fc856742997b455a1cbb29a4990de5f0af4fec6b
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 4e2758f24e98b31e63848f7782cf248377766022
https://github.com/OpenSIPS/opensips/commit/4e2758f24e98b31e63848f7782cf248377766022
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: e42d67dffed9cdb259a0dbe933ccbc060f5932cd
https://github.com/OpenSIPS/opensips/commit/e42d67dffed9cdb259a0dbe933ccbc060f5932cd
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: e8fcefa91a7f02d60df04895dbf929c197e4e154
https://github.com/OpenSIPS/opensips/commit/e8fcefa91a7f02d60df04895dbf929c197e4e154
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: aeb5315dfbb3a7c3d27166745bddbae8eb21799f
https://github.com/OpenSIPS/opensips/commit/aeb5315dfbb3a7c3d27166745bddbae8eb21799f
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 7a56074f0126bd3b5afcfc8769143399394ca8e3
https://github.com/OpenSIPS/opensips/commit/7a56074f0126bd3b5afcfc8769143399394ca8e3
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: dabc6b23a88361c759c341b1e0dffe2269679bd8
https://github.com/OpenSIPS/opensips/commit/dabc6b23a88361c759c341b1e0dffe2269679bd8
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 02aeec116b40fc1e7b3a92ef8617748ee8e42360
https://github.com/OpenSIPS/opensips/commit/02aeec116b40fc1e7b3a92ef8617748ee8e42360
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M modules/proto_hep/proto_hep.c
Log Message:
-----------
proto_hep: migrate hep to new TCP stack
Commit: 6b2231a142e88e53c05ffee36bcc7c54a5146a29
https://github.com/OpenSIPS/opensips/commit/6b2231a142e88e53c05ffee36bcc7c54a5146a29
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 9c0a2d11a568cfe5ac0b7520d7211e7fda4f7d4c
https://github.com/OpenSIPS/opensips/commit/9c0a2d11a568cfe5ac0b7520d7211e7fda4f7d4c
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 60835993a0d72b71cc249b09034372e5c2dca6ef
https://github.com/OpenSIPS/opensips/commit/60835993a0d72b71cc249b09034372e5c2dca6ef
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: d88d5727a6d7ad2c9f299edbafce5bbe0da29074
https://github.com/OpenSIPS/opensips/commit/d88d5727a6d7ad2c9f299edbafce5bbe0da29074
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 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: 834299e654395e3325d4f43705549824191bba42
https://github.com/OpenSIPS/opensips/commit/834299e654395e3325d4f43705549824191bba42
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 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: 01d1bc0c140fb795054671dd1ba6c52287cc1fe5
https://github.com/OpenSIPS/opensips/commit/01d1bc0c140fb795054671dd1ba6c52287cc1fe5
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M main.c
R ssl_tweaks.h
Log Message:
-----------
drop ssl_tweaks
Commit: 1b5bd641f54016b0b83b3f73212aed1a96c18653
https://github.com/OpenSIPS/opensips/commit/1b5bd641f54016b0b83b3f73212aed1a96c18653
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
Commit: b88d620dd8de722019ced51c62d3181688d38c2a
https://github.com/OpenSIPS/opensips/commit/b88d620dd8de722019ced51c62d3181688d38c2a
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M modules/tls_openssl/openssl_config.c
Log Message:
-----------
tls_openssl: fix misleading ident
Commit: 35b4c5b4b4214f446456d0e234ee76790ca30578
https://github.com/OpenSIPS/opensips/commit/35b4c5b4b4214f446456d0e234ee76790ca30578
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M net/net_tcp.c
M net/net_tcp_proc.c
Log Message:
-----------
net: dispatch the message to any available worker
Commit: a4ded4625fd80308db2bc1f64387636394f3212e
https://github.com/OpenSIPS/opensips/commit/a4ded4625fd80308db2bc1f64387636394f3212e
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
net: turn off read head from TCP
Commit: 5287467f7c0f978efedd163cf3e13085bd272d16
https://github.com/OpenSIPS/opensips/commit/5287467f7c0f978efedd163cf3e13085bd272d16
Author: Razvan Crainea <razvan at opensips.org>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
net: drop useless check for active TCP workers
Compare: https://github.com/OpenSIPS/opensips/compare/9efaa7aa113e...5287467f7c0f
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list