• Guillaume Roguez's avatar
    data transfer: fix data transfer destruction · 73dea6d8
    Guillaume Roguez authored
    fix crash occuring during data transfer destruction due to nullptr access
    when the turn transport is destroyed.
    
    list of changes:
    * fix Turn/PJSIP callbacks registration (was a NPA due to unique_ptr dtor implementation)
    * add a shutdown method to GenericSocket.
    * implement shutdown into TlsSession and TurnTransport.
    * use shutdown to unlock PeerConnection blocked into a read.
    * do not call blocking methods that raises CtrlMsg into the eventloop.
    * destroy clients/servers before turn socket .
    * fix Turn pool cache destruction causing bad mem free.
    
    Change-Id: I9995ce9419e8af965def9328a5de4a8973a4334f
    Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
    73dea6d8
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...