[sr-dev] git:master: core/tcp/tls: added tls_max_connections global parameter

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 13 23:10:12 CET 2011


Module: sip-router
Branch: master
Commit: 61f8b970416124efcdae38943af6ec48bf27f751
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61f8b970416124efcdae38943af6ec48bf27f751

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Dec 13 23:01:48 2011 +0100

core/tcp/tls: added tls_max_connections global parameter

- set a limit to active tls connections
- its management is done in tcp code, as tls is encryption layer over
  tcp
- tls connections are still counted as tcp connections, thus this limit
  cannot exceed tcp_max_connections
- default value 2048
- core.tcp_options lists also the tls connections number

---

 cfg.lex       |    3 ++
 cfg.y         |    9 ++++++++
 core_cmd.c    |    7 ++++-
 globals.h     |    3 +-
 tcp_info.h    |    4 ++-
 tcp_init.h    |    4 ++-
 tcp_main.c    |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tcp_options.c |    6 ++++-
 tcp_options.h |    3 +-
 9 files changed, 92 insertions(+), 8 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=61f8b970416124efcdae38943af6ec48bf27f751



More information about the sr-dev mailing list