[sr-dev] git:andrei/tcp_tls_changes: tls: ssl_flush() fix and re-worked error reporting

Andrei Pelinescu-Onciul andrei at iptel.org
Sat Jun 5 00:32:53 CEST 2010


Module: sip-router
Branch: andrei/tcp_tls_changes
Commit: d9730932a53c14ef039eb00b63d48e002c2c570f
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d9730932a53c14ef039eb00b63d48e002c2c570f

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Fri Jun  4 22:26:01 2010 +0200

tls: ssl_flush() fix and re-worked error reporting

- ssl_flush() did not properly handle connection in non-established state
- all ssl_errors are now treated inside tls_generic_send() and
  tls_read_f()
- queue size accounting fix

---

 modules/tls/tls_ct_wrq.c |   64 +++++++++++-----
 modules/tls/tls_ct_wrq.h |    6 +-
 modules/tls/tls_server.c |  194 +++++++++++++++++++++++----------------------
 modules/tls/tls_server.h |    2 +
 4 files changed, 149 insertions(+), 117 deletions(-)

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



More information about the sr-dev mailing list