]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bundled_pjproject: Improve SSL/TLS error handling
authorGeorge Joseph <gjoseph@digium.com>
Thu, 27 Jul 2017 11:35:51 +0000 (05:35 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 1 Aug 2017 21:45:25 +0000 (15:45 -0600)
commite92c1988ead53a84da4908d3e807f45a1cbd2b3d
tree522f5bfa838efe4743173b5c8101292768a40ce0
parentaa6d5c83f135258b3498e301f090080537b47f20
bundled_pjproject:  Improve SSL/TLS error handling

OpenSSL has 2 levels or error processing.  It's possible for the
top layer to return SSL_ERROR_SYSCALL but the lower layer return
no error, in which case processing should continue.  Only the top
layer was being examined though so connections were being torn
down when they didn't need to be.  This patch adds the examination
of the lower level codes, and if they return no errors, allows
processing to continue.

ASTERISK-27001
Reported-by: Ian Gilmour
patches:
pjproject-2.6.patch  submitted by Ian Gilmour (license 6889)

Updated-by: George Joseph and Sauw Ming (Teluu)
Merged to upstream pjproject on 7/27/2017 (commit 5631)

Change-Id: I23844ca0c68ef1ee550f14d46f6dae57d33b7bd2
third-party/pjproject/patches/0075-Fixed-2030-Improve-error-handling-in-OpenSSL-socket.patch [new file with mode: 0644]