WebRTC sockets should be closed at destruction time if not closed explicitly
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Jun 2017 00:29:38 +0000 (00:29 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Jun 2017 00:29:38 +0000 (00:29 +0000)
commitb31e42cb9e38c6fc89c3a6ae22571a083066bb71
tree2583b34a743e38195e6b0f2b570f3eb90b1e732a
parent9c77b1242273b4d57a020c5e1e98a03e7ef9fda1
WebRTC sockets should be closed at destruction time if not closed explicitly
https://bugs.webkit.org/show_bug.cgi?id=173479

Patch by Youenn Fablet <youenn@apple.com> on 2017-06-16
Reviewed by Eric Carlson.

Source/WebKit2:

* WebProcess/Network/webrtc/LibWebRTCSocket.cpp:
(WebKit::LibWebRTCSocket::~LibWebRTCSocket):
(WebKit::LibWebRTCSocket::Close):

LayoutTests:

* webrtc/datachannel/multiple-connections-expected.txt: Added.
* webrtc/datachannel/multiple-connections.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webrtc/datachannel/multiple-connections-expected.txt [new file with mode: 0644]
LayoutTests/webrtc/datachannel/multiple-connections.html [new file with mode: 0644]
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Network/webrtc/LibWebRTCSocket.cpp