RESOLVED FIXED 187302
[libwebrtc] Allow IP mismatch for local connections on localhost
https://bugs.webkit.org/show_bug.cgi?id=187302
Summary [libwebrtc] Allow IP mismatch for local connections on localhost
Thibault Saunier
Reported 2018-07-03 14:31:37 PDT
[libwebrtc] Allow IP mismatch for local connections on localhost
Attachments
Patch (1.76 KB, patch)
2018-07-03 14:34 PDT, Thibault Saunier
no flags
Patch (1.78 KB, patch)
2018-07-03 14:37 PDT, Thibault Saunier
no flags
Patch (1.96 KB, patch)
2018-09-21 06:01 PDT, Thibault Saunier
no flags
Patch (2.24 KB, patch)
2018-09-21 06:26 PDT, Thibault Saunier
no flags
Thibault Saunier
Comment 1 2018-07-03 14:34:23 PDT
Thibault Saunier
Comment 2 2018-07-03 14:37:15 PDT
youenn fablet
Comment 3 2018-07-03 14:58:23 PDT
Change makes sense, I guess it would make sense in the upstream repo as well. Should we also consider the IPIsAny check?
Thibault Saunier
Comment 4 2018-07-03 15:05:39 PDT
(In reply to youenn fablet from comment #3) > Change makes sense, I guess it would make sense in the upstream repo as well. I guess so yes, I will look into that. > Should we also consider the IPIsAny check? It is a good question, in the failure I was seeing `desired_addresses` was "any" fwiw. Do you want me to add it or let it the way it is and add it only if required in the future?
youenn fablet
Comment 5 2018-07-03 15:28:35 PDT
Comment on attachment 344221 [details] Patch LGTM, let's land it as is for now. If you have time to upstream this change, please also discuss the IPIsAny point at the same time.
WebKit Commit Bot
Comment 6 2018-07-04 08:47:28 PDT
Comment on attachment 344221 [details] Patch Clearing flags on attachment: 344221 Committed r233506: <https://trac.webkit.org/changeset/233506>
WebKit Commit Bot
Comment 7 2018-07-04 08:47:30 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2018-07-04 08:48:19 PDT
Thibault Saunier
Comment 9 2018-09-21 06:01:19 PDT
Reopening to attach new patch.
Thibault Saunier
Comment 10 2018-09-21 06:01:21 PDT
Thibault Saunier
Comment 11 2018-09-21 06:01:51 PDT
This patch was reverted during the last libwebrtc update.
Alejandro G. Castro
Comment 12 2018-09-21 06:18:31 PDT
Comment on attachment 350350 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=350350&action=review > Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/tcpport.cc:-354 > - RTC_DCHECK(std::find_if(desired_addresses.begin(), desired_addresses.end(), I think we can use the webkit compilation define WEBRTC_WEBKIT_BUILD, that way we can try to avoid the patch is removed again in the next merge. At least until we can merge upstream.
Thibault Saunier
Comment 13 2018-09-21 06:26:34 PDT
Thibault Saunier
Comment 14 2018-09-21 06:29:42 PDT
New version of the patch has been proposed on https://bugs.webkit.org/show_bug.cgi?id=189828 as asked (so we are required to have 1 patch per bug)
youenn fablet
Comment 15 2018-09-21 08:31:57 PDT
(In reply to Thibault Saunier from comment #11) > This patch was reverted during the last libwebrtc update. Yes, sorry. We will need to come up with a better way of keeping these changes in our trunk when resyncing libwebrtc.
Note You need to log in before you can comment on or make changes to this bug.