• Iñaki Baz Castillo's avatar
    Fix Worker crash when closing WebRtcServer with active WebRtcTransports (#1390) · d33cb887
    由 Iñaki Baz Castillo 提交于
    * Fix Worker crash when closing WebRtcServer with active WebRtcTransports
    
    Fixes #1388
    
    ### Details
    
    - `WebRtcServer` destructor must first close its `WebRtcTransports` and then the UDP sockets and TCP servers (so also its TCP connections). Otherwise those `WebRtcTransports` will try to send DTLS Close Alert on an already closed/freed `UdpSocketHandle` or `TcpConnectionHandle`.
    
    ### Steps to verify
    
    1. Have `WebRtcServer` running and a client connected.
    2. In server side call `webRtcServer.close()`.
    3. It should not crash anymore.
    
    * Update CHANGELOG
    d33cb887
名称
最后提交
最后更新
..
Channel 正在载入提交数据...
RTC 正在载入提交数据...
Utils 正在载入提交数据...
handles 正在载入提交数据...
ChannelMessageRegistrator.cpp 正在载入提交数据...
DepLibSRTP.cpp 正在载入提交数据...
DepLibUV.cpp 正在载入提交数据...
DepLibUring.cpp 正在载入提交数据...
DepLibWebRTC.cpp 正在载入提交数据...
DepOpenSSL.cpp 正在载入提交数据...
DepUsrSCTP.cpp 正在载入提交数据...
Logger.cpp 正在载入提交数据...
MediaSoupErrors.cpp 正在载入提交数据...
Settings.cpp 正在载入提交数据...
Worker.cpp 正在载入提交数据...
lib.cpp 正在载入提交数据...
lib.rs 正在载入提交数据...
main.cpp 正在载入提交数据...